public class FacetSequence
extends java.lang.Object
Geometry
specified by a subsequence of a CoordinateSequence.| Constructor | Description |
|---|---|
FacetSequence(CoordinateSequence pts,
int start) |
Creates a new sequence for a single point from a CoordinateSequence.
|
FacetSequence(CoordinateSequence pts,
int start,
int end) |
Creates a new section based on a CoordinateSequence.
|
| Modifier and Type | Method | Description |
|---|---|---|
double |
distance(FacetSequence facetSeq) |
|
Coordinate |
getCoordinate(int index) |
|
Envelope |
getEnvelope() |
|
boolean |
isPoint() |
|
int |
size() |
|
java.lang.String |
toString() |
public FacetSequence(CoordinateSequence pts, int start, int end)
pts - the sequence holding the points in the sectionstart - the index of the start pointend - the index of the end point + 1public FacetSequence(CoordinateSequence pts, int start)
pts - the sequence holding the points in the facet sequencestart - the index of the pointpublic Envelope getEnvelope()
public int size()
public Coordinate getCoordinate(int index)
public boolean isPoint()
public double distance(FacetSequence facetSeq)
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2018. All rights reserved.