Package com.luciad.ais.model
Class TLcdAISLonLatHeightGeometryFactory
java.lang.Object
com.luciad.ais.model.ALcdAISGeometryFactory
com.luciad.ais.model.TLcdAISLonLatHeightGeometryFactory
An implementation of
ALcdAISGeometryFactory
that creates objects
with geodetic (lon/lat/height) coordinates.- Since:
- 10.1
-
Constructor Summary
ConstructorDescriptionCreates a geometry factory that uses geodetic coordinates for the geometries that are created.TLcdAISLonLatHeightGeometryFactory
(ILcdEllipsoid aEllipsoid) Creates a geometry factory that uses geodetic coordinates for the geometries that are created. -
Method Summary
Modifier and TypeMethodDescriptionCreates a new arc band.Creates a new point.Creates a new polygon.createPolygon
(ILcd3DEditablePointList aPointList) Creates a new polygon given a point list.Creates a new polyline.createPolyline
(ILcd3DEditablePointList aPointList) Creates a new polyline given a point list.Returns the ellipsoid that is used by this factory.void
setEllipsoid
(ILcdEllipsoid aEllipsoid) Sets the ellipsoid to be used for the shapes created by this factory.
-
Constructor Details
-
TLcdAISLonLatHeightGeometryFactory
public TLcdAISLonLatHeightGeometryFactory()Creates a geometry factory that uses geodetic coordinates for the geometries that are created. The default WGS84 ellipsoid will be used for the coordinates. -
TLcdAISLonLatHeightGeometryFactory
Creates a geometry factory that uses geodetic coordinates for the geometries that are created.- Parameters:
aEllipsoid
- The ellipsoid that is used for the geodetic coordinates.
-
-
Method Details
-
setEllipsoid
Sets the ellipsoid to be used for the shapes created by this factory. If not set, a default WGS84 ellipsoid is used.- Parameters:
aEllipsoid
- anILcdEllipsoid
.- See Also:
-
getEllipsoid
Returns the ellipsoid that is used by this factory.- Returns:
- the
ILcdEllipsoid
that is used by this factory - See Also:
-
createPoint
Creates a new point.- Specified by:
createPoint
in classALcdAISGeometryFactory
- Returns:
- a new point
-
createPolyline
Creates a new polyline. The polyline has to be an instance ofILcdCurve
.- Specified by:
createPolyline
in classALcdAISGeometryFactory
- Returns:
- a new polyline
-
createPolygon
Creates a new polygon. The polygon has to be an instance ofILcdRing
.- Specified by:
createPolygon
in classALcdAISGeometryFactory
- Returns:
- a new polygon
-
createPolyline
Creates a new polyline given a point list. The polyline has to be an instance ofILcdCurve
.- Specified by:
createPolyline
in classALcdAISGeometryFactory
- Parameters:
aPointList
- the point list based on which a polyline is to be created- Returns:
- a new polyline connecting the given points
-
createPolygon
Description copied from class:ALcdAISGeometryFactory
Creates a new polygon given a point list. The polygon has to be an instance ofILcdRing
.- Specified by:
createPolygon
in classALcdAISGeometryFactory
- Parameters:
aPointList
- the point list based on which a polygon is to be created- Returns:
- a new polygon connecting the given points
-
createArcBand
Description copied from class:ALcdAISGeometryFactory
Creates a new arc band.- Overrides:
createArcBand
in classALcdAISGeometryFactory
- Returns:
- a new arc band.
-