Package com.luciad.format.gml2.model
Class TLcdGML2ShapeFactory
java.lang.Object
com.luciad.format.gml2.model.TLcdGML2ShapeFactory
Provides user-friendly factory methods for creating all kinds of GML geometries which are supported
in LuciadLightspeed via a corresponding LuciadLightspeed
ILcdShape
interface.- Since:
- 9.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateBox
(ILcdModelReference aModelReference) Creates a newgml:Box
, which can be edited through theILcd2DEditableBounds
interface.Creates a newgml:coordinates
, which can be edited through theILcd3DEditablePointList
interface.createLinearRing
(ILcdModelReference aModelReference) Creates a newgml:LinearRing
, which can be edited through theILcd3DEditablePolygon
interface.createLineString
(ILcdModelReference aModelReference) Creates a newgml:LineString
, which can be edited through theILcd3DEditablePolyline
interface.createPoint
(ILcdModelReference aModelReference) Creates a new 3-dimensionalgml:Point
, which can be edited through theILcd3DEditablePoint
interface.createPolygon
(ILcdModelReference aModelReference) Creates a newgml:Polygon
, which can be edited through theILcdEditableSurface
interface.
-
Constructor Details
-
TLcdGML2ShapeFactory
public TLcdGML2ShapeFactory()
-
-
Method Details
-
createPoint
Creates a new 3-dimensionalgml:Point
, which can be edited through theILcd3DEditablePoint
interface.- Parameters:
aModelReference
- the coordinate reference system in which the point should be created.- Returns:
- a new point
-
createLineString
Creates a newgml:LineString
, which can be edited through theILcd3DEditablePolyline
interface.- Parameters:
aModelReference
- the coordinate reference system in which the line string should be created.- Returns:
- a new line string.
-
createPolygon
Creates a newgml:Polygon
, which can be edited through theILcdEditableSurface
interface.- Parameters:
aModelReference
- the coordinate reference system in which the polygon should be created.- Returns:
- a new polygon
-
createLinearRing
Creates a newgml:LinearRing
, which can be edited through theILcd3DEditablePolygon
interface.- Parameters:
aModelReference
- the coordinate reference system in which the linear ring should be created.- Returns:
- a new linear ring.
-
createCoordinates
Creates a newgml:coordinates
, which can be edited through theILcd3DEditablePointList
interface.- Returns:
- new coordinates.
-
createBox
Creates a newgml:Box
, which can be edited through theILcd2DEditableBounds
interface.- Parameters:
aModelReference
- the coordinate reference system in which the box should be created.- Returns:
- a new box
-