public class Line2DZ extends Line2D implements Line
Geometry.DIMENSIONS, Geometry.OPERATIONS, Geometry.SUBTYPES, Geometry.TYPES, Geometry.ValidationStatus
gp
geometryType, geomManager, id, logger, projection
BEST, E, EXTENDED_GEOMSUBTYPE_OFFSET, EXTENDED_GEOMTYPE_OFFSET, N, NE, NW, S, SE, SELECTHANDLER, STRETCHINGHANDLER, SW, W
Constructor and Description |
---|
Line2DZ(GeometryType geometryType)
The constructor with the GeometryType like and argument
is used by the
GeometryType #create()
to create the geometry |
Modifier and Type | Method and Description |
---|---|
FShape |
cloneFShape()
Creates and returns a shape equal and independent of this one.
|
double |
getCoordinateAt(int index,
int dimension)
Gets the one of the values of a coordinate (direct position) in a
concrete dimension.
|
int |
getDimension()
Returns the largest number n such that each direct position in a
geometric set can be associated with a subset that has the direct
position in its interior and is similar (isomorphic) to Rn, Euclidean
n-space.
|
int |
getShapeType()
Gets the geometry type of this shape.
|
setPoints, toLines, toPoints, toPolygons
addMoveToVertex, addVertex, addVertex, addVertex, closePrimitive, contains, contains, contains, contains, ensureCapacity, getBounds, getBounds2D, getEnvelope, getGeneralPath, getGeneralPathX, getNumVertices, getPathIterator, getPathIterator, getSelectHandlers, getShape, getShape, getStretchingHandlers, getVertex, insertVertex, intersects, intersects, removeVertex, reProject, setCoordinateAt, setGeneralPath, setVertex, transform
area, buffer, centroid, cloneGeometry, closestPoints, compareTo, contains, containsPoint, containsRectangle, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKT, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, equals, fastIntersects, getGeometryType, getHandlers, getId, getInteriorPoint, getInternalShape, getSRS, getType, getValidationStatus, intersection, intersects, intersectsRectangle, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, overlaps, perimeter, rotate, scale, snapTo, toJTS, toString, touches, transform, union, within
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addMoveToVertex, addVertex, addVertex, addVertex, closePrimitive, ensureCapacity, getNumVertices, getVertex, insertVertex, removeVertex, setCoordinateAt, setGeneralPath, setVertex
area, buffer, centroid, cloneGeometry, closestPoints, contains, convertToEWKB, convertToEWKB, convertToEWKBForcingType, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKT, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, ensureOrientation, fastIntersects, flip, getBounds2D, getEnvelope, getGeneralPath, getGeometryType, getHandlers, getInteriorPoint, getInternalShape, getPathIterator, getPathIterator, getShape, getShape, getType, getValidationStatus, intersection, intersects, intersects, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, offset, out, overlaps, perimeter, reProject, rotate, scale, snapTo, toLines, toPoints, toPolygons, touches, transform, union, within
contains, contains, contains, contains, getBounds, intersects
compareTo
public Line2DZ(GeometryType geometryType)
GeometryType
#create()
to create the geometrytype
- The geometry typepublic int getShapeType()
FShape
getShapeType
in interface FShape
getShapeType
in class Line2D
public FShape cloneFShape()
FShape
cloneFShape
in interface FShape
cloneFShape
in class Line2D
public double getCoordinateAt(int index, int dimension)
OrientablePrimitive
getCoordinateAt
in interface OrientablePrimitive
getCoordinateAt
in class OrientablePrimitive2D
index
- The index of the direct position to set.dimension
- The dimension of the direct position.public int getDimension()
Geometry
getDimension
in interface Geometry
getDimension
in class OrientablePrimitive2D