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
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateBox(ILcdModelReference aModelReference) Creates a newgml:Box, which can be edited through theILcd2DEditableBoundsinterface.Creates a newgml:coordinates, which can be edited through theILcd3DEditablePointListinterface.createLinearRing(ILcdModelReference aModelReference) Creates a newgml:LinearRing, which can be edited through theILcd3DEditablePolygoninterface.createLineString(ILcdModelReference aModelReference) Creates a newgml:LineString, which can be edited through theILcd3DEditablePolylineinterface.createPoint(ILcdModelReference aModelReference) Creates a new 3-dimensionalgml:Point, which can be edited through theILcd3DEditablePointinterface.createPolygon(ILcdModelReference aModelReference) Creates a newgml:Polygon, which can be edited through theILcdEditableSurfaceinterface.
-
Constructor Details
-
TLcdGML2ShapeFactory
public TLcdGML2ShapeFactory()
-
-
Method Details
-
createPoint
Creates a new 3-dimensionalgml:Point, which can be edited through theILcd3DEditablePointinterface.- 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 theILcd3DEditablePolylineinterface.- 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 theILcdEditableSurfaceinterface.- 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 theILcd3DEditablePolygoninterface.- 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 theILcd3DEditablePointListinterface.- Returns:
- new coordinates.
-
createBox
Creates a newgml:Box, which can be edited through theILcd2DEditableBoundsinterface.- Parameters:
aModelReference- the coordinate reference system in which the box should be created.- Returns:
- a new box
-