public abstract class MultiVertexGeometry extends Geometry implements Serializable
Geometry.GeometryAccelerationDegree, Geometry.GeometryType, Geometry.Type
Constructor and Description |
---|
MultiVertexGeometry() |
Modifier and Type | Method and Description |
---|---|
protected void |
_assignVertexDescriptionImpl(VertexDescription newDescription) |
Point2D[] |
getCoordinates2D()
Returns XY coordinates as an array.
|
abstract Point |
getPoint(int index)
Returns given vertex of the Geometry.
|
void |
getPoint(int index,
Point ptOut)
Returns given vertex of the Geometry by value.
|
abstract void |
getPointByVal(int index,
Point outPoint)
Returns given vertex of the Geometry.
|
abstract int |
getPointCount()
Returns the total vertex count in this Geometry.
|
abstract Point2D |
getXY(int index)
Returns XY coordinates of the given vertex of the Geometry.
|
abstract void |
getXY(int index,
Point2D pt) |
abstract void |
queryCoordinates(Point[] dst) |
abstract void |
queryCoordinates(Point2D[] dst)
Queries XY coordinates as an array.
|
abstract void |
setPoint(int index,
Point pointSrc)
Sets the vertex at given index of the Geometry.
|
abstract void |
setPointByVal(int index,
Point pointSrc)
Sets the vertex at given index of the Geometry.
|
abstract void |
setXY(int index,
Point2D pt)
Sets XY coordinates of the given vertex of the Geometry.
|
_getImpl, addAttribute, addID, addM, applyTransformation, assignVertexDescription, calculateArea2D, calculateLength2D, copy, copyTo, createInstance, dropAllAttributes, dropAttribute, estimateMemorySize, estimateMemorySize, getBoundary, getDescription, getDimension, getDimensionFromType, getStateFlag, getType, hasAttribute, hasID, hasM, hasZ, isArea, isEmpty, isLinear, isMultiPath, isMultiVertex, isPoint, isSegment, mergeVertexDescription, queryEnvelope, queryEnvelope2D, queryInterval, queryLooseEnvelope2D, replaceNaNs, setEmpty, toString, vertex_count
protected void _assignVertexDescriptionImpl(VertexDescription newDescription)
_assignVertexDescriptionImpl
in class Geometry
public abstract int getPointCount()
public abstract Point getPoint(int index)
public void getPoint(int index, Point ptOut)
public abstract void setPoint(int index, Point pointSrc)
index
- The index of the vertex being changed.pointSrc
- The Point instance to set given vertex attributes from. The
pointSrc can not be empty. public abstract Point2D getXY(int index)
public abstract void getXY(int index, Point2D pt)
public abstract void setXY(int index, Point2D pt)
public Point2D[] getCoordinates2D()
public abstract void queryCoordinates(Point[] dst)
public abstract void queryCoordinates(Point2D[] dst)
public abstract void getPointByVal(int index, Point outPoint)
public abstract void setPointByVal(int index, Point pointSrc)
index
- The index of the vertex being changed.pointSrc
- The Point instance to set given vertex attributes from. The
pointSrc can not be empty. Copyright © 2018. All rights reserved.