public class TLcdEllipsoidalConstructiveGeometry extends java.lang.Object implements ILcdConstructiveGeometry
ILcdConstructiveGeometry
implementation for ellipsoidal topology. This implementation supports
the following shapes:
Depending on the type of input shapes and the interaction of the input shapes, the output can be any of the following shapes or an ILcdShapeList containing the following shapes:
Constructor and Description 

TLcdEllipsoidalConstructiveGeometry(ILcdEllipsoid aEllipsoid,
double aTolerance)
Creates a new TLcdEllipsoidalConstructiveGeometry.

Modifier and Type  Method and Description 

ILcdShape 
convexHull(ILcdShape... aShapes)
Finds the convex hull of the given shape or shapes.

ILcdShape 
difference(ILcdShape... aShapes)
Calculates the difference of the given shapes.

ILcdShape 
intersection(ILcdShape... aShapes)
Calculates the intersection of the given shapes.

ILcdShape 
symmetricDifference(ILcdShape... aShapes)
Calculates the symmetric difference of the given shapes.

ILcdShape 
union(ILcdShape... aShapes)
Calculates the union of the given shapes.

public TLcdEllipsoidalConstructiveGeometry(ILcdEllipsoid aEllipsoid, double aTolerance)
Creates a new TLcdEllipsoidalConstructiveGeometry.
The tolerance allows the calculation to treat nearby points of the two different shapes, as if they are coincident. If the tolerance is too large, incorrect results can occur. The calculations are most stable if the tolerance is smaller than the length of the smallest line segment.
aEllipsoid
 The ellipsoid on which the geometry is defined.aTolerance
 The tolerance in which points are considered equal, in meters.public ILcdShape union(ILcdShape... aShapes)
ILcdConstructiveGeometry
union
in interface ILcdConstructiveGeometry
aShapes
 The input shapes. There must be at least two shapes.public ILcdShape intersection(ILcdShape... aShapes)
ILcdConstructiveGeometry
intersection
in interface ILcdConstructiveGeometry
aShapes
 The input shapes. There must be at least two shapes.public ILcdShape difference(ILcdShape... aShapes)
ILcdConstructiveGeometry
difference
in interface ILcdConstructiveGeometry
aShapes
 The input shapes. There must be at least two shapes.public ILcdShape symmetricDifference(ILcdShape... aShapes)
ILcdConstructiveGeometry
symmetricDifference
in interface ILcdConstructiveGeometry
aShapes
 The input shapes. There must be at least two shapes.public ILcdShape convexHull(ILcdShape... aShapes)
ILcdConstructiveGeometry
convexHull
in interface ILcdConstructiveGeometry
aShapes
 the shape or shapes for which to find the convex hull.