FacetSequence class

Constructors

FacetSequence(Geometry? geom, CoordinateSequence pts, int? start, int? end)
Creates a new sequence of facets based on a {@link CoordinateSequence} contained in the given {@link Geometry}.
FacetSequence.fromPoint(CoordinateSequence pts, int? start)
Creates a new sequence for a single point from a {@link CoordinateSequence}.
FacetSequence.fromSequence(CoordinateSequence pts, int? start, int? end)
Creates a new sequence of facets based on a {@link CoordinateSequence}.

Properties

end int?
getter/setter pair
geom Geometry?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
pts CoordinateSequence
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start int?
getter/setter pair

Methods

computeDistanceLineLine(FacetSequence facetSeq, List<GeometryLocation?>? locs) double
computeDistancePointLine(Coordinate pt, FacetSequence facetSeq, List<GeometryLocation?>? locs) double
distance(FacetSequence facetSeq) double
Computes the distance between this and another FacetSequence.
getCoordinate(int index) Coordinate
getEnvelope() Envelope
isPoint() bool
nearestLocations(FacetSequence facetSeq) List<GeometryLocation?>?
Computes the locations of the nearest points between this sequence and another sequence. The locations are presented in the same order as the input sequences.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
size() int?
toString() String
A string representation of this object.
override
updateNearestLocationsLineLine(int i, Coordinate p0, Coordinate p1, FacetSequence facetSeq, int j, Coordinate q0, Coordinate q1, List<GeometryLocation?>? locs) → void
updateNearestLocationsPointLine(Coordinate pt, FacetSequence facetSeq, int i, Coordinate q0, Coordinate q1, List<GeometryLocation?>? locs) → void

Operators

operator ==(Object other) bool
The equality operator.
inherited