19 #ifndef GEOS_OP_BUFFER_OFFSETSEGMENTGENERATOR_H 20 #define GEOS_OP_BUFFER_OFFSETSEGMENTGENERATOR_H 34 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class 40 class CoordinateSequence;
90 return _hasNarrowConcaveAngle;
107 to.push_back(segList.getCoordinates());
126 segList.addPt(offset1.p0);
133 segList.addPt(offset1.p1);
147 segList.addPts(pts, isForward);
172 static const int MAX_CLOSING_SEG_LEN_FACTOR = 80;
237 void addCollinear(
bool addStartPoint);
260 void addLimitedMitreJoin(
263 double distance,
double mitreLimit);
275 static const double PI;
280 void init(
double newDistance);
296 void addOutsideTurn(
int orientation,
bool addStartPoint);
303 void addInsideTurn(
int orientation,
bool addStartPoint);
318 int side,
double distance,
334 int direction,
double radius);
346 double endAngle,
int direction,
double radius);
363 #endif // ndef GEOS_OP_BUFFER_OFFSETSEGMENTGENERATOR_H
OffsetSegmentString segList
Coordinate is the lightweight class used to store coordinates.
static const double INSIDE_TURN_VERTEX_SNAP_DISTANCE_FACTOR
double maxCurveSegmentError
the max error of approximation (distance) between a quad segment and the true fillet curve ...
static const double OFFSET_SEGMENT_SEPARATION_FACTOR
const geom::PrecisionModel * precisionModel
Specifies the precision model of the Coordinate in a Geometry.
geom::LineSegment offset0
void getCoordinates(std::vector< geom::CoordinateSequence * > &to)
A LineIntersector is an algorithm that can both test whether two line segments intersect and compute ...
double filletAngleQuantum
The angle quantum with which to approximate a fillet curve (based on the input # of quadrant segments...
void addLastSegment()
Add last offset point.
bool hasNarrowConcaveAngle() const
void addFirstSegment()
Add first offset point.
void addSegments(const geom::CoordinateSequence &pts, bool isForward)
Basic namespace for all GEOS functionalities.
bool _hasNarrowConcaveAngle
Contains the parameters which describe how a buffer should be constructed.
static const double SIMPLIFY_FACTOR
The internal representation of a list of coordinates inside a Geometry.
int closingSegLengthFactor
geom::LineSegment offset1
const BufferParameters & bufParams
algorithm::LineIntersector li
static const double CURVE_VERTEX_SNAP_DISTANCE_FACTOR