Package com.luciad.format.gml32.model
Class TLcdGML32ShapeFactory
java.lang.Object
com.luciad.format.gml32.model.TLcdGML32ShapeFactory
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 TypeMethodDescriptioncreateArc
(ILcdModelReference aModelReference) Creates a newgml:Arc
, which can be edited through theILcd2DEditableCircularArcBy3Points
interface.createArcByBulge
(ILcdModelReference aModelReference) Creates a newgml:ArcByBulge
, which can be edited through theILcd2DEditableCircularArcByBulge
interface.createArcByCenterPoint
(ILcdModelReference aModelReference) Creates a newgml:ArcByCenterPoint
, which can be edited through theILcd2DEditableCircularArcByCenterPoint
interface.createArcString
(ILcdModelReference aModelReference, int aNumArcs) Creates a newgml:ArcString
, which can be edited through theILcdCompositeCurve
interface.createArcStringByBulge
(ILcdModelReference aModelReference, int aNumArcs) Creates a newgml:ArcStringByBulge
, which can be edited through theILcdCompositeCurve
interface.createCircle
(ILcdModelReference aModelReference) Creates a newgml:Circle
, which can be edited through theILcd2DEditableCircleBy3Points
interface.createCircleByCenterPoint
(ILcdModelReference aModelReference) Creates a newgml:CircleByCenterPoint
, which can be edited through theILcd2DEditableCircle
interface.Creates a newgml:CompositeCurve
, which can be edited through theILcdEditableCompositeCurve
interface.Creates a newgml:coordinates
, which can be edited through theILcd3DEditablePointList
interface.Creates a newgml:Curve
, which can be edited through theILcdEditableCompositeCurve
interface.createDirectPosition
(ILcdModelReference aModelReference) Creates a new 3-dimensionalgml:pos
, which can be edited through theILcd3DEditablePoint
interface.createDirectPosition2D
(ILcdModelReference aModelReference) Creates a new 2-dimensionalgml:pos
, which can be edited through theILcd2DEditablePoint
interface.createDirectPositionList
(ILcdModelReference aModelReference) Creates a newgml:posList
, which can be edited through theILcd3DEditablePointList
interface.createEnvelope
(ILcdModelReference aModelReference) Creates a newgml:Envelope
, which can be edited through theILcd2DEditableBounds
interface.createGeodesic
(ILcdModelReference aModelReference) Creates a newgml:Geodesic
, which can be edited through theILcd3DEditablePolyline
interface.createGeodesicString
(ILcdModelReference aModelReference) Creates a newgml:GeodesicString
, which can be edited through theILcd3DEditablePolyline
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.createLineStringSegment
(ILcdModelReference aModelReference) Creates a newgml:LineStringSegment
, which can be edited through theILcd3DEditablePolyline
interface.Creates a newMultiCurve:Ring
, which can be edited through theILcdEditableShapeList
interface.Creates a newgml:MultiGeometry
, which can be edited through theILcdEditableShapeList
interface.Creates a newgml:MultiPoint
, which can be edited through theILcdEditableShapeList
interface.Creates a newgml:MultiSurface
, which can be edited through theILcdEditableShapeList
interface.createOrientableCurve
(ILcdCurve aBaseCurve, boolean aForwardOrientation) Creates a newgml:OrientableCurve
, which can be edited through theILcdCurve
interface.createPoint
(ILcdModelReference aModelReference) Creates a new 3-dimensionalgml:Point
, which can be edited through theILcd3DEditablePoint
interface.createPoint2D
(ILcdModelReference aModelReference) Creates a new 2-dimensionalgml:Point
, which can be edited through theILcd2DEditablePoint
interface.Creates a newgml:Polygon
, which can be edited through theILcdEditableSurface
interface.Creates a newgml:PolygonPatch
, which can be edited through theILcdEditableSurface
interface.createRectangle
(ILcdModelReference aModelReference) Creates a newgml:Rectangle
, which can be edited through theILcd3DEditableBounds
interface.Creates a newgml:Ring
, which can be edited through theILcdEditableCompositeCurve
interface.Creates a newgml:Surface
, which can be edited through theILcdEditableShapeList
interface.createTriangle
(ILcdModelReference aModelReference) Creates a newgml:Triangle
, which can be edited through theILcd3DEditablePolygon
interface.
-
Constructor Details
-
TLcdGML32ShapeFactory
public TLcdGML32ShapeFactory()
-
-
Method Details
-
createArc
Creates a newgml:Arc
, which can be edited through theILcd2DEditableCircularArcBy3Points
interface.- Parameters:
aModelReference
- the coordinate reference system in which the arc should be created.- Returns:
- a new arc.
-
createArcByBulge
Creates a newgml:ArcByBulge
, which can be edited through theILcd2DEditableCircularArcByBulge
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 newgml:ArcByCenterPoint
, which can be edited through theILcd2DEditableCircularArcByCenterPoint
interface.- Parameters:
aModelReference
- the coordinate reference system in which the arc should be created.- Returns:
- a new arc-by-center-point.
-
createCircleByCenterPoint
Creates a newgml:CircleByCenterPoint
, which can be edited through theILcd2DEditableCircle
interface.- Parameters:
aModelReference
- the coordinate reference system in which the circle should be created.- Returns:
- a new circle-by-center-point.
-
createCircle
Creates a newgml:Circle
, which can be edited through theILcd2DEditableCircleBy3Points
interface.- Parameters:
aModelReference
- the coordinate reference system in which the circle should be created.- Returns:
- a new circle-by-3-points.
-
createGeodesicString
Creates a newgml:GeodesicString
, which can be edited through theILcd3DEditablePolyline
interface.- Parameters:
aModelReference
- the coordinate reference system in which the geodesic string should be created.- Returns:
- a new geodesic string.
-
createGeodesic
Creates a newgml:Geodesic
, which can be edited through theILcd3DEditablePolyline
interface.- Parameters:
aModelReference
- the coordinate reference system in which the geodesic string should be created.- Returns:
- a new geodesic.
-
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.
-
createLineStringSegment
Creates a newgml:LineStringSegment
, which can be edited through theILcd3DEditablePolyline
interface.- Parameters:
aModelReference
- the coordinate reference system in which the line string segment should be created.- Returns:
- a new line string segment.
-
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.
-
createTriangle
Creates a newgml:Triangle
, which can be edited through theILcd3DEditablePolygon
interface.- Parameters:
aModelReference
- the coordinate reference system in which the triangle should be created.- Returns:
- a new triangle.
-
createRectangle
Creates a newgml:Rectangle
, which can be edited through theILcd3DEditableBounds
interface.- Parameters:
aModelReference
- the coordinate reference system in which the rectangle should be created.- Returns:
- a rectangle.
-
createDirectPositionList
Creates a newgml:posList
, which can be edited through theILcd3DEditablePointList
interface.- Parameters:
aModelReference
- the coordinate reference system in which the position list should be created.- Returns:
- a new position list.
-
createCoordinates
Creates a newgml:coordinates
, which can be edited through theILcd3DEditablePointList
interface.- Returns:
- new coordinates.
-
createDirectPosition2D
Creates a new 2-dimensionalgml:pos
, which can be edited through theILcd2DEditablePoint
interface.- Parameters:
aModelReference
- the coordinate reference system in which the position should be created.- Returns:
- a new position
-
createDirectPosition
Creates a new 3-dimensionalgml:pos
, which can be edited through theILcd3DEditablePoint
interface.- Parameters:
aModelReference
- the coordinate reference system in which the position should be created.- Returns:
- a new position
-
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
-
createPoint2D
Creates a new 2-dimensionalgml:Point
, which can be edited through theILcd2DEditablePoint
interface.- Parameters:
aModelReference
- the coordinate reference system in which the point should be created.- Returns:
- a new point
-
createEnvelope
Creates a newgml:Envelope
, which can be edited through theILcd2DEditableBounds
interface.- Parameters:
aModelReference
- the coordinate reference system in which the envelope should be created.- Returns:
- a new envelope
-
createRing
Creates a newgml:Ring
, which can be edited through theILcdEditableCompositeCurve
interface.- Returns:
- a new ring
-
createMultiCurve
Creates a newMultiCurve:Ring
, which can be edited through theILcdEditableShapeList
interface.- Returns:
- a new multicurve
-
createMultiGeometry
Creates a newgml:MultiGeometry
, which can be edited through theILcdEditableShapeList
interface.- Returns:
- a new multigeometry
-
createMultiPoint
Creates a newgml:MultiPoint
, which can be edited through theILcdEditableShapeList
interface.- Returns:
- a new multipoint
-
createCurve
Creates a newgml:Curve
, which can be edited through theILcdEditableCompositeCurve
interface.- Returns:
- a new curve
-
createCompositeCurve
Creates a newgml:CompositeCurve
, which can be edited through theILcdEditableCompositeCurve
interface.- Returns:
- a new composite curve
-
createSurface
Creates a newgml:Surface
, which can be edited through theILcdEditableShapeList
interface.- Returns:
- a new surface
-
createMultiSurface
Creates a newgml:MultiSurface
, which can be edited through theILcdEditableShapeList
interface.- Returns:
- a new multisurface
-
createPolygon
Creates a newgml:Polygon
, which can be edited through theILcdEditableSurface
interface.- Returns:
- a new polygon
-
createPolygonPatch
Creates a newgml:PolygonPatch
, which can be edited through theILcdEditableSurface
interface.- Returns:
- a new surface
-
createArcString
Creates a newgml:ArcString
, which can be edited through theILcdCompositeCurve
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
Creates a newgml:ArcStringByBulge
, which can be edited through theILcdCompositeCurve
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
Creates a newgml:OrientableCurve
, which can be edited through theILcdCurve
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
-