math.geom2d.circulinear.buffer
Class SquareCapFactory

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

public class SquareCapFactory
extends java.lang.Object
implements CapFactory

Author:
dlegland

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

SquareCapFactory

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