GEOS 3.11.1
|
Wraps a Noder
and transforms its input into the integer domain.
More...
#include <ScaledNoder.h>
Public Member Functions | |
bool | isIntegerPrecision () |
ScaledNoder (Noder &n, double nScaleFactor, double nOffsetX=0.0, double nOffsetY=0.0) | |
std::vector< SegmentString * > * | getNodedSubstrings () const override |
Returns a collection of fully noded SegmentStrings. The SegmentStrings have the same context as their parent. More... | |
void | computeNodes (std::vector< SegmentString * > *inputSegStr) override |
Computes the noding for a collection of SegmentStrings. More... | |
void | filter_ro (const geom::Coordinate *c) |
void | filter_rw (geom::Coordinate *c) const |
virtual void | computeNodes (std::vector< SegmentString * > *segStrings)=0 |
Computes the noding for a collection of SegmentStrings. More... | |
virtual std::vector< SegmentString * > * | getNodedSubstrings () const =0 |
Returns a collection of fully noded SegmentStrings. The SegmentStrings have the same context as their parent. More... | |
Friends | |
class | ScaledNoder::Scaler |
class | ScaledNoder::ReScaler |
Wraps a Noder
and transforms its input into the integer domain.
This is intended for use with Snap-Rounding noders, which typically are only intended to work in the integer domain. Offsets can be provided to increase the number of digits of available precision.
|
overridevirtual |
Computes the noding for a collection of SegmentStrings.
Some Noders may add all these nodes to the input SegmentStrings; others may only add some or none at all.
segStrings | a collection of SegmentString s to node The caller remains responsible for releasing the memory associated with the container and its elements. |
Implements geos::noding::Noder.
|
overridevirtual |
Returns a collection of fully noded SegmentStrings. The SegmentStrings have the same context as their parent.
Implements geos::noding::Noder.