Class TLcdGML2ShapeFactory

java.lang.Object
com.luciad.format.gml2.model.TLcdGML2ShapeFactory

public class TLcdGML2ShapeFactory extends Object
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 Details

    • TLcdGML2ShapeFactory

      public TLcdGML2ShapeFactory()
  • Method Details

    • createPoint

      public ILcd3DEditablePoint createPoint(ILcdModelReference aModelReference)
      Creates a new 3-dimensional gml:Point, which can be edited through the ILcd3DEditablePoint interface.
      Parameters:
      aModelReference - the coordinate reference system in which the point should be created.
      Returns:
      a new point
    • createLineString

      public ILcd3DEditablePolyline createLineString(ILcdModelReference aModelReference)
      Creates a new gml:LineString, which can be edited through the ILcd3DEditablePolyline interface.
      Parameters:
      aModelReference - the coordinate reference system in which the line string should be created.
      Returns:
      a new line string.
    • createPolygon

      public ILcdEditableSurface createPolygon(ILcdModelReference aModelReference)
      Creates a new gml:Polygon, which can be edited through the ILcdEditableSurface interface.
      Parameters:
      aModelReference - the coordinate reference system in which the polygon should be created.
      Returns:
      a new polygon
    • createLinearRing

      public ILcd3DEditablePolygon createLinearRing(ILcdModelReference aModelReference)
      Creates a new gml:LinearRing, which can be edited through the ILcd3DEditablePolygon interface.
      Parameters:
      aModelReference - the coordinate reference system in which the linear ring should be created.
      Returns:
      a new linear ring.
    • createCoordinates

      public ILcd3DEditablePointList createCoordinates()
      Creates a new gml:coordinates, which can be edited through the ILcd3DEditablePointList interface.
      Returns:
      new coordinates.
    • createBox

      public ILcd2DEditableBounds createBox(ILcdModelReference aModelReference)
      Creates a new gml:Box, which can be edited through the ILcd2DEditableBounds interface.
      Parameters:
      aModelReference - the coordinate reference system in which the box should be created.
      Returns:
      a new box