Class AbstractMultiLine
java.lang.Object
org.gvsig.fmap.geom.jts.AbstractGeometry
org.gvsig.fmap.geom.jts.aggregate.AbstractAggregate
org.gvsig.fmap.geom.jts.aggregate.AbstractMultiPrimitive
org.gvsig.fmap.geom.jts.aggregate.AbstractMultiCurve
org.gvsig.fmap.geom.jts.aggregate.AbstractMultiLine
- All Implemented Interfaces:
Shape,Serializable,Cloneable,Comparable,Iterable<org.gvsig.fmap.geom.Geometry>,org.gvsig.fmap.geom.aggregate.Aggregate,org.gvsig.fmap.geom.aggregate.MultiCurve,org.gvsig.fmap.geom.aggregate.MultiLine,org.gvsig.fmap.geom.aggregate.MultiPrimitive,org.gvsig.fmap.geom.Geometry,GeometryJTS,org.gvsig.tools.util.GetItem<org.gvsig.fmap.geom.Geometry>,org.gvsig.tools.util.IsEmpty,org.gvsig.tools.util.Size
- Direct Known Subclasses:
MultiLine2D,MultiLine2DM,MultiLine3D,MultiLine3DM
public abstract class AbstractMultiLine
extends AbstractMultiCurve
implements org.gvsig.fmap.geom.aggregate.MultiLine
- Author:
- fdiaz
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.gvsig.fmap.geom.jts.aggregate.AbstractMultiCurve
AbstractMultiCurve.MultiCurveIteratorNested 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.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.PointextractPoint(double length) voidflip()org.gvsig.fmap.geom.Geometryforce2D()org.gvsig.fmap.geom.Geometryforce2DM()org.gvsig.fmap.geom.Geometryforce3D()org.gvsig.fmap.geom.Geometryforce3DM()com.vividsolutions.jts.geom.GeometrygetJTS()doublegetPathLength(org.gvsig.fmap.geom.primitive.Point point) Methods inherited from class org.gvsig.fmap.geom.jts.aggregate.AbstractMultiCurve
addCurve, dissolve, getCurveAt, getGeneralPath, getPathIterator, getPathIteratorMethods inherited from class org.gvsig.fmap.geom.jts.aggregate.AbstractMultiPrimitive
addPrimitive, addPrimitives, addPrimitives, addPrimitives, clonePrimitives, fixPrimitive, getHandlers, intersection, unionMethods inherited from class org.gvsig.fmap.geom.jts.aggregate.AbstractAggregate
canBeReprojected, canBeTransformed, ensureCapacity, equals, get, getPrimitiveAt, getPrimitivesNumber, getShape, getShape, is3D, isEmpty, iterator, reProject, size, transformMethods 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, 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.aggregate.Aggregate
getPrimitiveAt, getPrimitivesNumber, intersection, unionMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface org.gvsig.fmap.geom.Geometry
area, boundary, buffer, buffer, canBeReprojected, canBeTransformed, 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, 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, offset, offset, 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.aggregate.MultiCurve
addCurve, dissolve, getCurveAtMethods inherited from interface org.gvsig.fmap.geom.aggregate.MultiPrimitive
addPrimitive, addPrimitives, addPrimitives, ensureCapacityMethods inherited from interface java.awt.Shape
contains, contains, contains, contains, getBounds, intersectsMethods inherited from interface org.gvsig.tools.util.Size
size
-
Constructor Details
-
AbstractMultiLine
public AbstractMultiLine(int subtype)
-
-
Method Details
-
getJTS
public com.vividsolutions.jts.geom.Geometry getJTS()- Specified by:
getJTSin interfaceGeometryJTS- Returns:
- the jts geometry.
-
force2D
public org.gvsig.fmap.geom.Geometry force2D() throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException- Specified by:
force2Din interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
force2DM
public org.gvsig.fmap.geom.Geometry force2DM() throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException- Specified by:
force2DMin classAbstractGeometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
force3D
public org.gvsig.fmap.geom.Geometry force3D() throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException- Specified by:
force3Din classAbstractGeometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
force3DM
public org.gvsig.fmap.geom.Geometry force3DM() throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException- Specified by:
force3DMin classAbstractGeometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
flip
public void flip() throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException- Specified by:
flipin interfaceorg.gvsig.fmap.geom.Geometry- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-
getPathLength
public double getPathLength(org.gvsig.fmap.geom.primitive.Point point) - Specified by:
getPathLengthin interfaceorg.gvsig.fmap.geom.aggregate.MultiLine
-
extractPoint
public org.gvsig.fmap.geom.primitive.Point extractPoint(double length) - Specified by:
extractPointin interfaceorg.gvsig.fmap.geom.aggregate.MultiLine
-