Package com.luciad.format.pol
Class TLcdPOLGeometryFactory
java.lang.Object
com.luciad.format.pol.TLcdPOLGeometryFactory
A factory class to create open and closed geometries.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Object
createClosedGeometry
(String aName, String aType, boolean aSetColorFlag, int aColorIndex, String aAltitudeUnit, double aMinAltitude, double aMaxAltitude, ILcd2DEditablePointList aPointList) Creates a closed geometry based on the given parameters.static Object
createOpenGeometry
(String aName, String aType, boolean aSetColorFlag, int aColorIndex, String aAltitudeUnit, double aMinAltitude, double aMaxAltitude, ILcd2DEditablePointList aPointList) Creates a open geometry based on the given parameters.
-
Constructor Details
-
TLcdPOLGeometryFactory
public TLcdPOLGeometryFactory()
-
-
Method Details
-
createClosedGeometry
public static Object createClosedGeometry(String aName, String aType, boolean aSetColorFlag, int aColorIndex, String aAltitudeUnit, double aMinAltitude, double aMaxAltitude, ILcd2DEditablePointList aPointList) Creates a closed geometry based on the given parameters.- Parameters:
aName
- the name of the POL geometry to create.aType
- the type of the POL geometry to create.aSetColorFlag
- true if the color flag should be setaColorIndex
- the color index of the POL geometry to create.aAltitudeUnit
- the altitude unit of the POL geometry to create.aMinAltitude
- the minimum altitude of the POL geometry to create.aMaxAltitude
- the maximum altitude of the POL geometry to create.aPointList
- the points this geometry consists of.- Returns:
- a closed geometry based on the given parameters
-
createOpenGeometry
public static Object createOpenGeometry(String aName, String aType, boolean aSetColorFlag, int aColorIndex, String aAltitudeUnit, double aMinAltitude, double aMaxAltitude, ILcd2DEditablePointList aPointList) Creates a open geometry based on the given parameters.- Parameters:
aName
- the name of the POL geometry to create.aType
- the type of the POL geometry to create.aSetColorFlag
- true if the color flag should be setaColorIndex
- the color index of the POL geometry to create.aAltitudeUnit
- the altitude unit of the POL geometry to create.aMinAltitude
- the minimum altitude of the POL geometry to create.aMaxAltitude
- the maximum altitude of the POL geometry to create.aPointList
- the points this geometry consists of.- Returns:
- an opened geometry based on the given parameters
-