GEOS
3.9.1dev
|
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) | |
~ScaledNoder () override | |
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 |
Public Member Functions inherited from geos::noding::Noder | |
virtual | ~Noder () |
Private Member Functions | |
void | rescale (std::vector< SegmentString * > &segStrings) const |
void | scale (std::vector< SegmentString * > &segStrings) const |
ScaledNoder (const ScaledNoder &other)=delete | |
ScaledNoder & | operator= (const ScaledNoder &rhs)=delete |
Private Attributes | |
Noder & | noder |
double | scaleFactor |
double | offsetX |
double | offsetY |
bool | isScaled |
std::vector< geom::CoordinateSequence * > | newCoordSeq |
Friends | |
class | ScaledNoder::Scaler |
class | ScaledNoder::ReScaler |
Additional Inherited Members | |
Protected Member Functions inherited from geos::noding::Noder | |
Noder () | |
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.
Definition at line 61 of file ScaledNoder.h.
|
inline |
Definition at line 71 of file ScaledNoder.h.
|
override |
|
privatedelete |
|
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 SegmentStrings to node The caller remains responsible for releasing the memory associated with the container and its elements. |
Implements geos::noding::Noder.
|
inline |
Definition at line 90 of file ScaledNoder.h.
References geos::ignore_unused_variable_warning().
void geos::noding::ScaledNoder::filter_rw | ( | geom::Coordinate * | c | ) | const |
|
overridevirtual |
Returns a collection of fully noded SegmentStrings. The SegmentStrings have the same context as their parent.
Implements geos::noding::Noder.
|
inline |
Definition at line 66 of file ScaledNoder.h.
|
privatedelete |
|
private |
|
private |
|
friend |
Definition at line 120 of file ScaledNoder.h.
|
friend |
Definition at line 116 of file ScaledNoder.h.
|
private |
Definition at line 108 of file ScaledNoder.h.
|
mutableprivate |
Definition at line 122 of file ScaledNoder.h.
|
private |
Definition at line 100 of file ScaledNoder.h.
|
private |
Definition at line 104 of file ScaledNoder.h.
|
private |
Definition at line 106 of file ScaledNoder.h.
|
private |
Definition at line 102 of file ScaledNoder.h.