Class TLcdGML31ShapeFactory

java.lang.Object
com.luciad.format.gml31.model.TLcdGML31ShapeFactory

public class TLcdGML31ShapeFactory 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

    • TLcdGML31ShapeFactory

      public TLcdGML31ShapeFactory()
  • Method Details

    • createArc

      public ILcd2DEditableCircularArcBy3Points createArc(ILcdModelReference aModelReference)
      Creates a new gml:Arc, which can be edited through the ILcd2DEditableCircularArcBy3Points interface.
      Parameters:
      aModelReference - the coordinate reference system in which the arc should be created.
      Returns:
      a new arc.
    • createArcByBulge

      public ILcd2DEditableCircularArcByBulge createArcByBulge(ILcdModelReference aModelReference)
      Creates a new gml:ArcByBulge, which can be edited through the ILcd2DEditableCircularArcByBulge interface.
      Parameters:
      aModelReference - the coordinate reference system in which the arc should be created.
      Returns:
      a new arc-by-bulge.
    • createArcByCenterPoint

      public ILcd2DEditableCircularArcByCenterPoint createArcByCenterPoint(ILcdModelReference aModelReference)
      Creates a new gml:ArcByCenterPoint, which can be edited through the ILcd2DEditableCircularArcByCenterPoint interface.
      Parameters:
      aModelReference - the coordinate reference system in which the arc should be created.
      Returns:
      a new arc-by-center-point.
    • createCircleByCenterPoint

      public ILcd2DEditableCircle createCircleByCenterPoint(ILcdModelReference aModelReference)
      Creates a new gml:CircleByCenterPoint, which can be edited through the ILcd2DEditableCircle interface.
      Parameters:
      aModelReference - the coordinate reference system in which the circle should be created.
      Returns:
      a new circle-by-center-point.
    • createCircle

      public ILcd2DEditableCircleBy3Points createCircle(ILcdModelReference aModelReference)
      Creates a new gml:Circle, which can be edited through the ILcd2DEditableCircleBy3Points interface.
      Parameters:
      aModelReference - the coordinate reference system in which the circle should be created.
      Returns:
      a new circle-by-3-points.
    • createGeodesicString

      public ILcd3DEditablePolyline createGeodesicString(ILcdModelReference aModelReference)
      Creates a new gml:GeodesicString, which can be edited through the ILcd3DEditablePolyline interface.
      Parameters:
      aModelReference - the coordinate reference system in which the geodesic string should be created.
      Returns:
      a new geodesic string.
    • createGeodesic

      public ILcd3DEditablePolyline createGeodesic(ILcdModelReference aModelReference)
      Creates a new gml:Geodesic, which can be edited through the ILcd3DEditablePolyline interface.
      Parameters:
      aModelReference - the coordinate reference system in which the geodesic string should be created.
      Returns:
      a new geodesic.
    • 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.
    • createLineStringSegment

      public ILcd3DEditablePolyline createLineStringSegment(ILcdModelReference aModelReference)
      Creates a new gml:LineStringSegment, which can be edited through the ILcd3DEditablePolyline interface.
      Parameters:
      aModelReference - the coordinate reference system in which the line string segment should be created.
      Returns:
      a new line string segment.
    • 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.
    • createTriangle

      public ILcd3DEditablePolygon createTriangle(ILcdModelReference aModelReference)
      Creates a new gml:Triangle, which can be edited through the ILcd3DEditablePolygon interface.
      Parameters:
      aModelReference - the coordinate reference system in which the triangle should be created.
      Returns:
      a new triangle.
    • createRectangle

      public ILcd3DEditableBounds createRectangle(ILcdModelReference aModelReference)
      Creates a new gml:Rectangle, which can be edited through the ILcd3DEditableBounds interface.
      Parameters:
      aModelReference - the coordinate reference system in which the rectangle should be created.
      Returns:
      a rectangle.
    • createDirectPositionList

      public ILcd3DEditablePointList createDirectPositionList(ILcdModelReference aModelReference)
      Creates a new gml:posList, which can be edited through the ILcd3DEditablePointList interface.
      Parameters:
      aModelReference - the coordinate reference system in which the position list should be created.
      Returns:
      a new position list.
    • createCoordinates

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

      public ILcd2DEditablePoint createDirectPosition2D(ILcdModelReference aModelReference)
      Creates a new 2-dimensional gml:pos, which can be edited through the ILcd2DEditablePoint interface.
      Parameters:
      aModelReference - the coordinate reference system in which the position should be created.
      Returns:
      a new position
    • createDirectPosition

      public ILcd3DEditablePoint createDirectPosition(ILcdModelReference aModelReference)
      Creates a new 3-dimensional gml:pos, which can be edited through the ILcd3DEditablePoint interface.
      Parameters:
      aModelReference - the coordinate reference system in which the position should be created.
      Returns:
      a new position
    • 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
    • createPoint2D

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

      public ILcd2DEditableBounds createEnvelope(ILcdModelReference aModelReference)
      Creates a new gml:Envelope, which can be edited through the ILcd2DEditableBounds interface.
      Parameters:
      aModelReference - the coordinate reference system in which the envelope should be created.
      Returns:
      a new envelope
    • createRing

      public ILcdEditableCompositeCurve createRing()
      Creates a new gml:Ring, which can be edited through the ILcdEditableCompositeCurve interface.
      Returns:
      a new ring
    • createMultiCurve

      public ILcdEditableShapeList createMultiCurve()
      Creates a new MultiCurve:Ring, which can be edited through the ILcdEditableShapeList interface.
      Returns:
      a new multicurve
    • createMultiGeometry

      public ILcdEditableShapeList createMultiGeometry()
      Creates a new gml:MultiGeometry, which can be edited through the ILcdEditableShapeList interface.
      Returns:
      a new multigeometry
    • createMultiPoint

      public ILcdEditableShapeList createMultiPoint()
      Creates a new gml:MultiPoint, which can be edited through the ILcdEditableShapeList interface.
      Returns:
      a new multipoint
    • createCurve

      public ILcdEditableCompositeCurve createCurve()
      Creates a new gml:Curve, which can be edited through the ILcdEditableCompositeCurve interface.
      Returns:
      a new curve
    • createCompositeCurve

      public ILcdEditableCompositeCurve createCompositeCurve()
      Creates a new gml:CompositeCurve, which can be edited through the ILcdEditableCompositeCurve interface.
      Returns:
      a new composite curve
    • createSurface

      public ILcdEditableShapeList createSurface()
      Creates a new gml:Surface, which can be edited through the ILcdEditableShapeList interface.
      Returns:
      a new surface
    • createMultiSurface

      public ILcdEditableShapeList createMultiSurface()
      Creates a new gml:MultiSurface, which can be edited through the ILcdEditableShapeList interface.
      Returns:
      a new multisurface
    • createPolygon

      public ILcdEditableSurface createPolygon()
      Creates a new gml:Polygon, which can be edited through the ILcdEditableSurface interface.
      Returns:
      a new polygon
    • createPolygonPatch

      public ILcdEditableSurface createPolygonPatch()
      Creates a new gml:PolygonPatch, which can be edited through the ILcdEditableSurface interface.
      Returns:
      a new surface
    • createArcString

      public ILcdCompositeCurve createArcString(ILcdModelReference aModelReference, int aNumArcs)
      Creates a new gml:ArcString, which can be edited through the ILcdCompositeCurve interface.
      Parameters:
      aModelReference - the coordinate reference system in which the arc string should be created.
      aNumArcs - the number of arcs the arc string should have.
      Returns:
      a new arc string
    • createArcStringByBulge

      public ILcdCompositeCurve createArcStringByBulge(ILcdModelReference aModelReference, int aNumArcs)
      Creates a new gml:ArcStringByBulge, which can be edited through the ILcdCompositeCurve interface.
      Parameters:
      aModelReference - the coordinate reference system in which the arc-string-by-bulge should be created.
      aNumArcs - the number of arcs the arc-string-by-bulge should have.
      Returns:
      a new arc-string-by-bulge
    • createOrientableCurve

      public ILcdCurve createOrientableCurve(ILcdCurve aBaseCurve, boolean aForwardOrientation)
      Creates a new gml:OrientableCurve, which can be edited through the ILcdCurve interface.
      Parameters:
      aBaseCurve - the base curve for the orientable curve to be created.
      aForwardOrientation - boolean indicating whether the orientation is forward (true) or backward (false).
      Returns:
      a new orientable curve