org.geotools.geometry.iso.aggregate
Class MultiCurveImpl

java.lang.Object
  extended by org.geotools.geometry.iso.root.GeometryImpl
      extended by org.geotools.geometry.iso.aggregate.AggregateImpl
          extended by org.geotools.geometry.iso.aggregate.MultiPrimitiveImpl
              extended by org.geotools.geometry.iso.aggregate.MultiCurveImpl
All Implemented Interfaces:
java.io.Serializable, org.opengis.geometry.aggregate.Aggregate, org.opengis.geometry.aggregate.MultiCurve, org.opengis.geometry.aggregate.MultiPrimitive, org.opengis.geometry.Geometry, org.opengis.geometry.TransfiniteSet

public class MultiCurveImpl
extends MultiPrimitiveImpl
implements org.opengis.geometry.aggregate.MultiCurve

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.geotools.geometry.iso.aggregate.AggregateImpl
elements
 
Fields inherited from class org.geotools.geometry.iso.root.GeometryImpl
crs, percision
 
Constructor Summary
MultiCurveImpl(org.opengis.referencing.crs.CoordinateReferenceSystem crs, java.util.Set<org.opengis.geometry.primitive.OrientableCurve> curves)
          Creates a MultiCurve by a set of Curves.
 
Method Summary
 java.util.Set<org.opengis.geometry.primitive.OrientableCurve> getElements()
           
 double length()
           
 
Methods inherited from class org.geotools.geometry.iso.aggregate.MultiPrimitiveImpl
getEnvelope, getMaximalComplex, getRepresentativePoint, isSimple, toString
 
Methods inherited from class org.geotools.geometry.iso.aggregate.AggregateImpl
clone, getBoundary, getDimension
 
Methods inherited from class org.geotools.geometry.iso.root.GeometryImpl
castToGeometryImpl, castToGeometryImpl, contains, contains, cRelate, crosses, difference, disjoint, distance, equals, getBuffer, getCentroid, getClosure, getConvexHull, getCoordinateDimension, getCoordinateReferenceSystem, getDistance, getMbRegion, getPositionFactory, getPrecision, intersection, intersects, isCycle, isMutable, overlaps, relate, symmetricDifference, toImmutable, touches, transform, transform, union, within
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.opengis.geometry.Geometry
clone, distance, getBoundary, getBuffer, getCentroid, getClosure, getConvexHull, getCoordinateDimension, getCoordinateReferenceSystem, getDimension, getEnvelope, getMaximalComplex, getMbRegion, getPrecision, getRepresentativePoint, isCycle, isMutable, isSimple, toImmutable, transform, transform
 
Methods inherited from interface org.opengis.geometry.TransfiniteSet
contains, contains, difference, equals, intersection, intersects, symmetricDifference, union
 

Constructor Detail

MultiCurveImpl

public MultiCurveImpl(org.opengis.referencing.crs.CoordinateReferenceSystem crs,
                      java.util.Set<org.opengis.geometry.primitive.OrientableCurve> curves)
Creates a MultiCurve by a set of Curves.

Parameters:
crs -
curves - Set of Curves which shall be contained by the MultiCurve
Method Detail

length

public double length()
Specified by:
length in interface org.opengis.geometry.aggregate.MultiCurve

getElements

public java.util.Set<org.opengis.geometry.primitive.OrientableCurve> getElements()
Specified by:
getElements in interface org.opengis.geometry.aggregate.Aggregate
Specified by:
getElements in interface org.opengis.geometry.aggregate.MultiCurve
Specified by:
getElements in interface org.opengis.geometry.aggregate.MultiPrimitive
Overrides:
getElements in class MultiPrimitiveImpl


Copyright © 1996-2010 Geotools. All Rights Reserved.