Package org.opengis.geometry.aggregate
Interface AggregateFactory

public interface AggregateFactory
A factory of aggregate geometric objects. All aggregates created through this interface will use the factory's coordinate reference system. Creating aggregates in a different CRS may requires a different instance ofAggregateFactory
. Since:
 GeoAPI 2.1
 TODO:
 Need to check if ISO 19107 defines constructors for aggregates.


Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MultiCurve
createMultiCurve(Set<OrientableCurve> curves)
Creates a multi curve by a set of curves.MultiPoint
createMultiPoint(Set<Point> points)
Creates a multi point by a set of points.MultiPrimitive
createMultiPrimitive(Set<Primitive> primitives)
Creates a multi primitive by a set of primitives.MultiSurface
createMultiSurface(Set<OrientableSurface> surfaces)
Creates a multisurface by a set of surfaces.



Method Detail

createMultiPrimitive
MultiPrimitive createMultiPrimitive(Set<Primitive> primitives)
Creates a multi primitive by a set of primitives. The createdMultiPrimitive
will hold only references to the given primitive, e.g. changes in the primitive instances will have consequences in the geometric behaviour of theMultiPrimitive
and vice versa. Parameters:
primitives
 A set of primitives. Returns:
 the resulting multi primitive.

createMultiPoint
MultiPoint createMultiPoint(Set<Point> points)
Creates a multi point by a set of points. The createdMultiPoint
will hold only references to the given points, e.g. changes in the point instances will have consequences in the geometric behaviour of theMultiPoint
and vice versa. Parameters:
points
 A set of points. Returns:
 the resulting multi point.

createMultiCurve
MultiCurve createMultiCurve(Set<OrientableCurve> curves)
Creates a multi curve by a set of curves. The createdMultiCurve
will hold only references to the given curves, e.g. changes in the curve instances will have consequences in the geometric behaviour of theMultiCurve
and vice versa. Parameters:
curves
 A set of curves. Returns:
 the resulting multi curve.

createMultiSurface
MultiSurface createMultiSurface(Set<OrientableSurface> surfaces)
Creates a multisurface by a set of surfaces. The createdMultiSurface
will hold only references to the given surfaces, e.g. changes in the surface instances will have consequences in the geometric behaviour of theMultiSurface
and vice versa. Parameters:
surfaces
 A set of surfaces. Returns:
 the resulting multi surface.

