public class TLcdEllipsoidalShapePointEnumerationFactory
extends java.lang.Object
ILcdPoint
objects to represent a discretized form of an ILcdShape
object.Constructor and Description |
---|
TLcdEllipsoidalShapePointEnumerationFactory()
Constructor for the TLcdEllipsoidalShapePointEnumerationFactory object.
|
TLcdEllipsoidalShapePointEnumerationFactory(ILcdEllipsoid aEllipsoid)
Constructor for the TLcdEllipsoidalShapePointEnumerationFactory object.
|
Modifier and Type | Method and Description |
---|---|
java.util.Enumeration |
createPointEnumeration(ILcdShape aShape,
double aStepSize)
Returns an enumeration of
ILcdPoint objects contained by the
ILcdShape . |
boolean |
isUseGeneralShapeEnumeration()
Gets the useGeneralShapeEnumeration attribute of the
TLcdEllipsoidalShapePointEnumerationFactory object.
|
void |
setUseGeneralShapeEnumeration(boolean aUseGeneralShapeEnumeration)
Sets the useGeneralShapeEnumeration attribute of the
TLcdEllipsoidalShapePointEnumerationFactory object.
|
public TLcdEllipsoidalShapePointEnumerationFactory()
ILcdEllipsoid
object, i.e., TLcdEllipsoid
.public TLcdEllipsoidalShapePointEnumerationFactory(ILcdEllipsoid aEllipsoid)
aEllipsoid
- ellipsoid representing the earth to be used.public void setUseGeneralShapeEnumeration(boolean aUseGeneralShapeEnumeration)
aUseGeneralShapeEnumeration
- The new useGeneralShapeEnumeration value.public boolean isUseGeneralShapeEnumeration()
public java.util.Enumeration createPointEnumeration(ILcdShape aShape, double aStepSize) throws java.lang.IllegalArgumentException
ILcdPoint
objects contained by the
ILcdShape
. Knows to generate an enumeration for the following
types of objects:
isUseGeneralShapeEnumeration()
returns
true ILcdShape
objects in general can be enumerated. This
general method may be quite expensive though.aStepSize
- the step size, expressed in meters, to
be used for the discretization of the ILcdShape
aShape
- Description of Parameterjava.lang.IllegalArgumentException
- is thrown if the property isUseGeneralShapeEnumeration()
returns false and no implementation is available.