|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object math.geom2d.circulinear.buffer.BufferCalculator
public class BufferCalculator
Compute the buffer of a circulinear curve or domain, and gather some methods for computing parallel curves.
This class can be instantiated, but also contains a lot of static methods. The default instance of BufferCalculator is accessible through the static method 'getDefaultInstance'. The public constructor can be called if different cap or join need to be specified.
Constructor Summary | |
---|---|
BufferCalculator()
Creates a new buffer calculator with default join and cap factories. |
|
BufferCalculator(JoinFactory joinFactory,
CapFactory capFactory)
Creates a new buffer calculator with specific join and cap factories. |
Method Summary | |
---|---|
CirculinearDomain2D |
computeBuffer(CirculinearCurve2D curve,
double dist)
Compute the buffer of a circulinear curve. |
CirculinearDomain2D |
computeBuffer(PointSet2D set,
double dist)
Compute buffer of a point set. |
CirculinearContinuousCurve2D |
createContinuousParallel(CirculinearContinuousCurve2D curve,
double dist)
Compute the parallel curve of a Circulinear and continuous curve. |
CirculinearCurve2D |
createParallel(CirculinearCurve2D curve,
double dist)
Computes the parallel curve of a circulinear curve (composed only of pieces of lines and circles). |
CirculinearBoundary2D |
createParallelBoundary(CirculinearBoundary2D boundary,
double dist)
|
CirculinearContour2D |
createParallelContour(CirculinearContour2D contour,
double dist)
|
static BufferCalculator |
getDefaultInstance()
Returns the default instance of bufferCalculator. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BufferCalculator()
public BufferCalculator(JoinFactory joinFactory, CapFactory capFactory)
Method Detail |
---|
public static BufferCalculator getDefaultInstance()
public CirculinearCurve2D createParallel(CirculinearCurve2D curve, double dist)
public CirculinearBoundary2D createParallelBoundary(CirculinearBoundary2D boundary, double dist)
public CirculinearContour2D createParallelContour(CirculinearContour2D contour, double dist)
public CirculinearContinuousCurve2D createContinuousParallel(CirculinearContinuousCurve2D curve, double dist)
public CirculinearDomain2D computeBuffer(CirculinearCurve2D curve, double dist)
The algorithm is as follow:
public CirculinearDomain2D computeBuffer(PointSet2D set, double dist)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |