math.geom2d.circulinear.buffer
Class TriangleCapFactory

java.lang.Object
  extended by math.geom2d.circulinear.buffer.TriangleCapFactory
All Implemented Interfaces:
CapFactory

public class TriangleCapFactory
extends java.lang.Object
implements CapFactory

Author:
dlegland

Constructor Summary
TriangleCapFactory()
           
 
Method Summary
 CirculinearContinuousCurve2D createCap(Point2D p1, Point2D p2)
           
 CirculinearContinuousCurve2D createCap(Point2D center, Vector2D direction, double dist)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TriangleCapFactory

public TriangleCapFactory()
Method Detail

createCap

public CirculinearContinuousCurve2D createCap(Point2D center,
                                              Vector2D direction,
                                              double dist)
Specified by:
createCap in interface CapFactory

createCap

public CirculinearContinuousCurve2D createCap(Point2D p1,
                                              Point2D p2)
Specified by:
createCap in interface CapFactory