math.geom2d.circulinear.buffer
Interface CapFactory

All Known Implementing Classes:
ButtCapFactory, RoundCapFactory, SquareCapFactory, TriangleCapFactory

public interface CapFactory

Generates a cap at the end of an open curve.

Author:
dlegland

Method Summary
 CirculinearContinuousCurve2D createCap(Point2D p1, Point2D p2)
           
 CirculinearContinuousCurve2D createCap(Point2D center, Vector2D direction, double dist)
           
 

Method Detail

createCap

CirculinearContinuousCurve2D createCap(Point2D center,
                                       Vector2D direction,
                                       double dist)

createCap

CirculinearContinuousCurve2D createCap(Point2D p1,
                                       Point2D p2)