public class FacetSequence extends Object
Geometry specified by a subsequence of a
CoordinateSequence.
| Constructor and Description |
|---|
FacetSequence(CoordinateSequence
Creates a new sequence for a single point from a CoordinateSequence.
|
FacetSequence(CoordinateSequence
Creates a new section based on a CoordinateSequence.
|
| Modifier and Type | Method and Description |
|---|---|
double |
distance(FacetSequence
|
Coordinate |
getCoordinate(int index)
|
Envelope |
getEnvelope()
|
boolean |
isPoint()
|
int |
size()
|
String |
toString()
|
public FacetSequence(CoordinateSequencepts, int start, int end)
pts - the sequence holding the points in the section
start - the index of the start point
end - the index of the end point + 1
public FacetSequence(CoordinateSequencepts, int start)
pts - the sequence holding the points in the facet sequence
start - the index of the point
public EnvelopegetEnvelope()
public int size()
public CoordinategetCoordinate(int index)
public boolean isPoint()
public double distance(FacetSequencefacetSeq)
public StringtoString()