Class Line2DM
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.BaseLine2DM
org.gvsig.fmap.geom.jts.primitive.curve.line.Line2DM
- All Implemented Interfaces:
Shape,Serializable,Cloneable,Comparable,Iterable<org.gvsig.fmap.geom.primitive.Point>,org.gvsig.fmap.geom.Geometry,GeometryJTS,org.gvsig.fmap.geom.primitive.Closeable,org.gvsig.fmap.geom.primitive.Curve,org.gvsig.fmap.geom.primitive.Line,org.gvsig.fmap.geom.primitive.OrientableCurve,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
- 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
ConstructorsConstructorDescriptionLine2DM()Line2DM(com.vividsolutions.jts.geom.Coordinate[] coordinates) Line2DM(ArrayListCoordinateSequence coordinates) -
Method Summary
Methods inherited from class org.gvsig.fmap.geom.jts.primitive.curve.line.BaseLine2DM
addVertex, addVertex, fixPoint, getCoordinateAt, getVertex, reProject, setCoordinateAt, toLines, toPoints, toPolygonsMethods inherited from class org.gvsig.fmap.geom.jts.primitive.curve.line.AbstractLine
addMoveToVertex, addVertex, canBeReprojected, canBeTransformed, cloneCoordinates, closePrimitive, ensureCapacity, extractPoint, flip, force2D, force3D, force3DM, forceClose, get, getDimension, getGeneralPath, getJTS, getNumVertices, getPathIterator, getPathIterator, getPathLength, getShape, getShape, insertVertex, is3D, isClosed, isClosed, isEmpty, iterator, removeVertex, 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, 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, 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 org.gvsig.fmap.geom.primitive.Closeable
forceClose, isClosed, isClosedMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface org.gvsig.fmap.geom.primitive.Curve
setPointsMethods inherited from interface org.gvsig.fmap.geom.Geometry
area, boundary, buffer, buffer, canBeReprojected, canBeTransformed, centroid, 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, flip, force2D, forceSubtype, getBounds2D, getDimension, getEnvelope, getGeneralPath, getGeometryType, getHandlers, getInteriorPoint, getInternalShape, getPathIterator, getPathIterator, getProjection, getShape, getShape, getType, getValidationStatus, intersection, intersects, intersects, invokeOperation, invokeOperation, isCCW, isEmpty, isSimple, isValid, isWithinDistance, makeValid, move, out, overlaps, perimeter, reProject, rotate, scale, setProjection, setProjection, setProjectionIffNull, snapTo, toLines, toPoints, toPolygons, touches, transform, union, withinMethods inherited from interface org.gvsig.tools.util.GetItem
getMethods inherited from interface org.gvsig.tools.util.IsEmpty
isEmptyMethods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface org.gvsig.fmap.geom.primitive.Line
extractPoint, getPathLengthMethods inherited from interface org.gvsig.fmap.geom.primitive.OrientablePrimitive
addMoveToVertex, addVertex, addVertex, addVertex, closePrimitive, ensureCapacity, getCoordinateAt, getNumVertices, getVertex, insertVertex, removeVertex, setCoordinateAt, setGeneralPath, setVertexMethods inherited from interface java.awt.Shape
contains, contains, contains, contains, getBounds, intersectsMethods inherited from interface org.gvsig.tools.util.Size
size
-
Constructor Details
-
Line2DM
public Line2DM() -
Line2DM
public Line2DM(com.vividsolutions.jts.geom.Coordinate[] coordinates) - Parameters:
coordinates-
-
Line2DM
-
-
Method Details
-
cloneGeometry
public org.gvsig.fmap.geom.primitive.Line cloneGeometry()- Specified by:
cloneGeometryin interfaceorg.gvsig.fmap.geom.Geometry- Specified by:
cloneGeometryin interfaceorg.gvsig.fmap.geom.primitive.Line
-
clone
- Specified by:
clonein interfaceorg.gvsig.fmap.geom.Geometry- Specified by:
clonein interfaceorg.gvsig.fmap.geom.primitive.Line- Overrides:
clonein classAbstractGeometry- Throws:
CloneNotSupportedException
-
offset
public org.gvsig.fmap.geom.Geometry offset(double distance) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException - Specified by:
offsetin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
offset
public org.gvsig.fmap.geom.Geometry offset(int joinStyle, double distance) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException - Specified by:
offsetin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
equals
- Specified by:
equalsin interfaceorg.gvsig.fmap.geom.Geometry- Overrides:
equalsin classAbstractGeometry
-
force2DM
public org.gvsig.fmap.geom.Geometry force2DM() throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException- Overrides:
force2DMin classAbstractLine- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-