Class Point3D
java.lang.Object
org.gvsig.fmap.geom.jts.AbstractGeometry
org.gvsig.fmap.geom.jts.primitive.AbstractPrimitive
org.gvsig.fmap.geom.jts.primitive.point.AbstractPoint
org.gvsig.fmap.geom.jts.primitive.point.Point3D
- All Implemented Interfaces:
Shape,Serializable,Cloneable,Comparable,org.gvsig.fmap.geom.Geometry,GeometryJTS,PointJTS,org.gvsig.fmap.geom.primitive.Point,org.gvsig.fmap.geom.primitive.Primitive,org.gvsig.tools.util.GetItem<Double>,org.gvsig.tools.util.IsEmpty,org.gvsig.tools.util.Size
- Author:
- fdiaz
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.gvsig.fmap.geom.Geometry
org.gvsig.fmap.geom.Geometry.DIMENSIONS, org.gvsig.fmap.geom.Geometry.OPERATIONS, org.gvsig.fmap.geom.Geometry.SUBTYPES, org.gvsig.fmap.geom.Geometry.TYPES, org.gvsig.fmap.geom.Geometry.ValidationStatus -
Field Summary
Fields inherited from class org.gvsig.fmap.geom.jts.primitive.point.AbstractPoint
coordinateFields inherited from class org.gvsig.fmap.geom.jts.AbstractGeometry
LOGGERFields inherited from interface org.gvsig.fmap.geom.Geometry
BEST, E, EXTENDED_GEOMSUBTYPE_OFFSET, EXTENDED_GEOMTYPE_OFFSET, JOIN_STYLE_BEVEL, JOIN_STYLE_MITRE, JOIN_STYLE_ROUND, N, NE, NW, S, SE, SELECTHANDLER, STRETCHINGHANDLER, SW, W -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.gvsig.fmap.geom.primitive.Pointbooleanorg.gvsig.fmap.geom.primitive.Pointforce2DM()org.gvsig.fmap.geom.primitive.Pointforce3D()org.gvsig.fmap.geom.primitive.Pointforce3DM()intorg.gvsig.fmap.geom.primitive.GeneralPathXorg.gvsig.fmap.geom.type.GeometryTypedoublegetZ()booleanis3D()org.gvsig.fmap.geom.Geometryoffset(double distance) voidsetJTSCoordinate(com.vividsolutions.jts.geom.Coordinate coordinate) voidsetZ(double z) org.gvsig.fmap.geom.aggregate.MultiPointtoPoints()toString()Methods inherited from class org.gvsig.fmap.geom.jts.primitive.point.AbstractPoint
canBeReprojected, canBeTransformed, centroid, clone, flip, force2D, get, getCoordinateAt, getCoordinates, getDirectPosition, getEnvelope, getHandlers, getJTS, getJTSCoordinate, getPathIterator, getShape, getShape, getX, getY, hashCode, isEmpty, offset, reProject, setCoordinateAt, setCoordinates, setX, setY, size, toLines, toPolygons, transformMethods inherited from class org.gvsig.fmap.geom.jts.AbstractGeometry
area, boundary, buffer, buffer, closestPoints, compareTo, contains, contains, contains, contains, contains, convertTo, convertToEWKB, convertToEWKB, convertToEWKBForcingType, convertToGeoJson, convertToGeoJson, convertToHexEWKB, convertToHexEWKBQuietly, convertToHexWKB, convertToHexWKBQuietly, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKBQuietly, convertToWKT, convertToWKTQuietly, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, ensureOrientation, fastIntersects, fix, forceSubtype, getBounds, getBounds2D, getInteriorPoint, getInternalShape, getManager, getProjection, getType, getValidationStatus, intersection, intersects, intersects, intersects, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, notifyDeprecated, out, overlaps, perimeter, rotate, scale, setGeometryType, setProjection, setProjection, setProjectionIffNull, snapTo, touches, union, withinMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface org.gvsig.fmap.geom.Geometry
area, boundary, buffer, buffer, closestPoints, contains, convertTo, convertToEWKB, convertToEWKB, convertToEWKBForcingType, convertToGeoJson, convertToHexEWKB, convertToHexEWKBQuietly, convertToHexWKB, convertToHexWKBQuietly, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKBQuietly, convertToWKT, convertToWKTQuietly, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, ensureOrientation, fastIntersects, fix, forceSubtype, getBounds2D, getInteriorPoint, getInternalShape, getProjection, getType, getValidationStatus, intersection, intersects, intersects, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, out, overlaps, perimeter, rotate, scale, setProjection, setProjection, setProjectionIffNull, snapTo, touches, union, within
-
Constructor Details
-
Point3D
public Point3D(org.gvsig.crs.projection.lib.Projection proj, com.vividsolutions.jts.geom.Coordinate coordinates) -
Point3D
public Point3D() -
Point3D
public Point3D(double x, double y, double z) -
Point3D
public Point3D(org.gvsig.crs.projection.lib.Projection proj, double x, double y, double z)
-
-
Method Details
-
getZ
public double getZ() -
getDimension
public int getDimension() -
getGeometryType
public org.gvsig.fmap.geom.type.GeometryType getGeometryType()- Specified by:
getGeometryTypein interfaceorg.gvsig.fmap.geom.Geometry- Overrides:
getGeometryTypein classAbstractGeometry
-
cloneGeometry
public org.gvsig.fmap.geom.primitive.Point cloneGeometry() -
is3D
public boolean is3D() -
setJTSCoordinate
public void setJTSCoordinate(com.vividsolutions.jts.geom.Coordinate coordinate) -
setZ
public void setZ(double z) - Parameters:
zValue-
-
getGeneralPath
public org.gvsig.fmap.geom.primitive.GeneralPathX getGeneralPath() -
getPathIterator
-
toPoints
public org.gvsig.fmap.geom.aggregate.MultiPoint toPoints() throws org.gvsig.fmap.geom.GeometryException- Throws:
org.gvsig.fmap.geom.GeometryException
-
offset
public org.gvsig.fmap.geom.Geometry offset(double distance) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException - Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
toString
- Specified by:
toStringin classAbstractPoint
-
equals
- Specified by:
equalsin interfaceorg.gvsig.fmap.geom.Geometry- Overrides:
equalsin classAbstractGeometry
-
force3D
public org.gvsig.fmap.geom.primitive.Point force3D()- Specified by:
force3Din interfaceorg.gvsig.fmap.geom.primitive.Point- Specified by:
force3Din classAbstractGeometry
-
force2DM
public org.gvsig.fmap.geom.primitive.Point force2DM()- Specified by:
force2DMin interfaceorg.gvsig.fmap.geom.primitive.Point- Specified by:
force2DMin classAbstractGeometry
-
force3DM
public org.gvsig.fmap.geom.primitive.Point force3DM()- Specified by:
force3DMin interfaceorg.gvsig.fmap.geom.primitive.Point- Specified by:
force3DMin classAbstractGeometry
-