math.geom2d.circulinear.buffer
Class ButtCapFactory

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

public class ButtCapFactory
extends java.lang.Object
implements CapFactory

Author:
dlegland

Constructor Summary
ButtCapFactory()
           
 
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

ButtCapFactory

public ButtCapFactory()
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