Class MultiLine2DM
- 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
- 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.Geometryprotected org.gvsig.fmap.geom.GeometryfixPrimitive(org.gvsig.fmap.geom.primitive.Primitive primitive) intgetShape()getShape(AffineTransform affineTransform) booleanis3D()org.gvsig.fmap.geom.Geometryoffset(double distance) org.gvsig.fmap.geom.Geometryoffset(int joinStyle, double distance) 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.aggregate.AbstractMultiLine
extractPoint, flip, force2D, force2DM, force3D, force3DM, getJTS, getPathLengthMethods 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, getHandlers, intersection, unionMethods inherited from class org.gvsig.fmap.geom.jts.aggregate.AbstractAggregate
canBeReprojected, canBeTransformed, ensureCapacity, equals, get, getPrimitiveAt, getPrimitivesNumber, 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, 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, getGeneralPath, getGeometryType, getHandlers, getInteriorPoint, getInternalShape, getPathIterator, getPathIterator, getProjection, getType, getValidationStatus, intersection, intersects, intersects, invokeOperation, invokeOperation, isCCW, isEmpty, isSimple, isValid, isWithinDistance, makeValid, move, out, overlaps, perimeter, reProject, rotate, scale, setProjection, setProjection, setProjectionIffNull, snapTo, 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
-
MultiLine2DM
public MultiLine2DM()- Parameters:
type-subtype-
-
-
Method Details
-
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
-
cloneGeometry
public org.gvsig.fmap.geom.Geometry cloneGeometry() -
getDimension
public int getDimension() -
getShape
- Specified by:
getShapein interfaceorg.gvsig.fmap.geom.Geometry- Overrides:
getShapein classAbstractAggregate
-
getShape
- Specified by:
getShapein interfaceorg.gvsig.fmap.geom.Geometry- Overrides:
getShapein classAbstractAggregate
-
is3D
public boolean is3D()- Specified by:
is3Din interfaceGeometryJTS- Overrides:
is3Din classAbstractAggregate
-
fixPrimitive
protected org.gvsig.fmap.geom.Geometry fixPrimitive(org.gvsig.fmap.geom.primitive.Primitive primitive) - Specified by:
fixPrimitivein classAbstractMultiPrimitive- Parameters:
primitive-- Returns:
-
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
-
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 - Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationException
-