Class DefaultMultiCurve
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.DefaultMultiCurve
- 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.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
ConstructorsConstructorDescriptionDefaultMultiCurve(int subtype) DefaultMultiCurve(org.gvsig.fmap.geom.type.GeometryType geometryType) -
Method Summary
Modifier and TypeMethodDescriptionorg.gvsig.fmap.geom.Geometryprotected org.gvsig.fmap.geom.GeometryfixPrimitive(org.gvsig.fmap.geom.primitive.Primitive primitive) voidflip()org.gvsig.fmap.geom.Geometryforce2D()org.gvsig.fmap.geom.Geometryforce2DM()org.gvsig.fmap.geom.Geometryforce3D()org.gvsig.fmap.geom.Geometryforce3DM()intcom.vividsolutions.jts.geom.GeometrygetJTS()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.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, 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, 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, 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, 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.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
-
DefaultMultiCurve
public DefaultMultiCurve(org.gvsig.fmap.geom.type.GeometryType geometryType) - Parameters:
geometryType-
-
DefaultMultiCurve
public DefaultMultiCurve(int subtype) - Parameters:
subtype-
-
-
Method Details
-
cloneGeometry
public org.gvsig.fmap.geom.Geometry cloneGeometry() -
force2D
public org.gvsig.fmap.geom.Geometry force2D() 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
-
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
-
getDimension
public int getDimension() -
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
-
flip
public void flip() 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
-
fixPrimitive
protected org.gvsig.fmap.geom.Geometry fixPrimitive(org.gvsig.fmap.geom.primitive.Primitive primitive) - Specified by:
fixPrimitivein classAbstractMultiPrimitive- Parameters:
primitive-- Returns:
-
getJTS
public com.vividsolutions.jts.geom.Geometry getJTS()- Returns:
- the jts geometry.
-
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
-