|
| OffsetSegmentGenerator (const geom::PrecisionModel *newPrecisionModel, const BufferParameters &bufParams, double distance) |
|
bool | hasNarrowConcaveAngle () const |
|
void | initSideSegments (const geom::Coordinate &nS1, const geom::Coordinate &nS2, int nSide) |
|
void | getCoordinates (std::vector< geom::CoordinateSequence * > &to) |
|
std::unique_ptr< geom::CoordinateSequence > | getCoordinates () |
|
void | closeRing () |
|
void | createCircle (const geom::Coordinate &p, double distance) |
| Adds a CW circle around a point.
|
|
void | createSquare (const geom::Coordinate &p, double distance) |
| Adds a CW square around a point.
|
|
void | addFirstSegment () |
| Add first offset point.
|
|
void | addLastSegment () |
| Add last offset point.
|
|
void | addNextSegment (const geom::Coordinate &p, bool addStartPoint) |
|
void | addLineEndCap (const geom::Coordinate &p0, const geom::Coordinate &p1) |
| Add an end cap around point p1, terminating a line segment coming from p0.
|
|
void | addSegments (const geom::CoordinateSequence &pts, bool isForward) |
|
Generates segments which form an offset curve. Supports all end cap and join options provided for buffering. Implements various heuristics to produce smoother, simpler curves which are still within a reasonable tolerance of the true curve.
- Author
- Martin Davis