Class BaseLine3DM
java.lang.Object
org.gvsig.fmap.geom.jts.AbstractGeometry
org.gvsig.fmap.geom.jts.primitive.AbstractPrimitive
org.gvsig.fmap.geom.jts.primitive.curve.AbstractCurve
org.gvsig.fmap.geom.jts.primitive.curve.line.AbstractLine
org.gvsig.fmap.geom.jts.primitive.curve.line.BaseLine3DM
- All Implemented Interfaces:
Shape,Serializable,Cloneable,Comparable,org.gvsig.fmap.geom.Geometry,GeometryJTS,org.gvsig.fmap.geom.primitive.OrientablePrimitive,org.gvsig.fmap.geom.primitive.Primitive,org.gvsig.tools.util.GetItem<org.gvsig.fmap.geom.primitive.Point>,org.gvsig.tools.util.IsEmpty,org.gvsig.tools.util.Size
- Direct Known Subclasses:
Line3DM,Polygon3DM,Ring3DM
- Author:
- fdiaz
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.gvsig.fmap.geom.jts.primitive.curve.line.AbstractLine
AbstractLine.LineIterator, AbstractLine.VertexIteratorNested 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.curve.line.AbstractLine
coordinates, 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
ConstructorsConstructorDescriptionBaseLine3DM(int type) BaseLine3DM(int type, com.vividsolutions.jts.geom.Coordinate[] coordinates) BaseLine3DM(int type, ArrayListCoordinateSequence coordinates) -
Method Summary
Modifier and TypeMethodDescriptionorg.gvsig.fmap.geom.primitive.OrientablePrimitiveaddVertex(double x, double y) org.gvsig.fmap.geom.primitive.OrientablePrimitiveaddVertex(double x, double y, double z) protected org.gvsig.fmap.geom.primitive.PointfixPoint(org.gvsig.fmap.geom.primitive.Point point) org.gvsig.fmap.geom.primitive.PointgetVertex(int index) voidreProject(org.gvsig.crs.projection.lib.CoordinateTransformation ct) org.gvsig.fmap.geom.aggregate.MultiLinetoLines()org.gvsig.fmap.geom.aggregate.MultiPointtoPoints()org.gvsig.fmap.geom.aggregate.MultiPolygonMethods inherited from class org.gvsig.fmap.geom.jts.primitive.curve.line.AbstractLine
addMoveToVertex, addVertex, canBeReprojected, canBeTransformed, cloneCoordinates, closePrimitive, ensureCapacity, extractPoint, flip, force2D, force2DM, force3D, force3DM, forceClose, get, getCoordinateAt, getDimension, getGeneralPath, getJTS, getNumVertices, getPathIterator, getPathIterator, getPathLength, getShape, getShape, insertVertex, is3D, isClosed, isClosed, isEmpty, iterator, removeVertex, setCoordinateAt, setGeneralPath, setPoints, setVertex, size, transformMethods inherited from class org.gvsig.fmap.geom.jts.primitive.AbstractPrimitive
getHandlersMethods inherited from class org.gvsig.fmap.geom.jts.AbstractGeometry
area, boundary, buffer, buffer, centroid, clone, 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, equals, fastIntersects, fix, forceSubtype, getBounds, getBounds2D, getEnvelope, getGeometryType, 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, toString, touches, union, withinMethods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface org.gvsig.fmap.geom.Geometry
area, boundary, buffer, buffer, centroid, clone, cloneGeometry, 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, equals, fastIntersects, fix, forceSubtype, getBounds2D, getEnvelope, getGeometryType, getHandlers, getInteriorPoint, getInternalShape, getProjection, getType, getValidationStatus, intersection, intersects, intersects, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, offset, offset, out, overlaps, perimeter, rotate, scale, setProjection, setProjection, setProjectionIffNull, snapTo, touches, union, within
-
Constructor Details
-
BaseLine3DM
public BaseLine3DM(int type, com.vividsolutions.jts.geom.Coordinate[] coordinates) - Parameters:
coordinates-polygon-
-
BaseLine3DM
-
BaseLine3DM
public BaseLine3DM(int type) - Parameters:
polygon-
-
-
Method Details
-
addVertex
public org.gvsig.fmap.geom.primitive.OrientablePrimitive addVertex(double x, double y) -
addVertex
public org.gvsig.fmap.geom.primitive.OrientablePrimitive addVertex(double x, double y, double z) -
fixPoint
protected org.gvsig.fmap.geom.primitive.Point fixPoint(org.gvsig.fmap.geom.primitive.Point point) - Specified by:
fixPointin classAbstractLine- Parameters:
point-- Returns:
-
toPoints
public org.gvsig.fmap.geom.aggregate.MultiPoint toPoints() throws org.gvsig.fmap.geom.GeometryException- Throws:
org.gvsig.fmap.geom.GeometryException
-
toLines
public org.gvsig.fmap.geom.aggregate.MultiLine toLines() throws org.gvsig.fmap.geom.GeometryException- Throws:
org.gvsig.fmap.geom.GeometryException
-
toPolygons
public org.gvsig.fmap.geom.aggregate.MultiPolygon toPolygons() throws org.gvsig.fmap.geom.GeometryException- Throws:
org.gvsig.fmap.geom.GeometryException
-
getVertex
public org.gvsig.fmap.geom.primitive.Point getVertex(int index) - Specified by:
getVertexin interfaceorg.gvsig.fmap.geom.primitive.OrientablePrimitive- Specified by:
getVertexin classAbstractLine
-
reProject
public void reProject(org.gvsig.crs.projection.lib.CoordinateTransformation ct) - Specified by:
reProjectin interfaceorg.gvsig.fmap.geom.Geometry- Overrides:
reProjectin classAbstractLine
-