Package com.luciad.format.gml31.model
Class TLcdGML31ShapeFactory
java.lang.Object
com.luciad.format.gml31.model.TLcdGML31ShapeFactory
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 TypeMethodDescriptioncreateArc(ILcdModelReference aModelReference) Creates a newgml:Arc, which can be edited through theILcd2DEditableCircularArcBy3Pointsinterface.createArcByBulge(ILcdModelReference aModelReference) Creates a newgml:ArcByBulge, which can be edited through theILcd2DEditableCircularArcByBulgeinterface.createArcByCenterPoint(ILcdModelReference aModelReference) Creates a newgml:ArcByCenterPoint, which can be edited through theILcd2DEditableCircularArcByCenterPointinterface.createArcString(ILcdModelReference aModelReference, int aNumArcs) Creates a newgml:ArcString, which can be edited through theILcdCompositeCurveinterface.createArcStringByBulge(ILcdModelReference aModelReference, int aNumArcs) Creates a newgml:ArcStringByBulge, which can be edited through theILcdCompositeCurveinterface.createCircle(ILcdModelReference aModelReference) Creates a newgml:Circle, which can be edited through theILcd2DEditableCircleBy3Pointsinterface.createCircleByCenterPoint(ILcdModelReference aModelReference) Creates a newgml:CircleByCenterPoint, which can be edited through theILcd2DEditableCircleinterface.Creates a newgml:CompositeCurve, which can be edited through theILcdEditableCompositeCurveinterface.Creates a newgml:coordinates, which can be edited through theILcd3DEditablePointListinterface.Creates a newgml:Curve, which can be edited through theILcdEditableCompositeCurveinterface.createDirectPosition(ILcdModelReference aModelReference) Creates a new 3-dimensionalgml:pos, which can be edited through theILcd3DEditablePointinterface.createDirectPosition2D(ILcdModelReference aModelReference) Creates a new 2-dimensionalgml:pos, which can be edited through theILcd2DEditablePointinterface.createDirectPositionList(ILcdModelReference aModelReference) Creates a newgml:posList, which can be edited through theILcd3DEditablePointListinterface.createEnvelope(ILcdModelReference aModelReference) Creates a newgml:Envelope, which can be edited through theILcd2DEditableBoundsinterface.createGeodesic(ILcdModelReference aModelReference) Creates a newgml:Geodesic, which can be edited through theILcd3DEditablePolylineinterface.createGeodesicString(ILcdModelReference aModelReference) Creates a newgml:GeodesicString, which can be edited through theILcd3DEditablePolylineinterface.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.createLineStringSegment(ILcdModelReference aModelReference) Creates a newgml:LineStringSegment, which can be edited through theILcd3DEditablePolylineinterface.Creates a newMultiCurve:Ring, which can be edited through theILcdEditableShapeListinterface.Creates a newgml:MultiGeometry, which can be edited through theILcdEditableShapeListinterface.Creates a newgml:MultiPoint, which can be edited through theILcdEditableShapeListinterface.Creates a newgml:MultiSurface, which can be edited through theILcdEditableShapeListinterface.createOrientableCurve(ILcdCurve aBaseCurve, boolean aForwardOrientation) Creates a newgml:OrientableCurve, which can be edited through theILcdCurveinterface.createPoint(ILcdModelReference aModelReference) Creates a new 3-dimensionalgml:Point, which can be edited through theILcd3DEditablePointinterface.createPoint2D(ILcdModelReference aModelReference) Creates a new 2-dimensionalgml:Point, which can be edited through theILcd2DEditablePointinterface.Creates a newgml:Polygon, which can be edited through theILcdEditableSurfaceinterface.Creates a newgml:PolygonPatch, which can be edited through theILcdEditableSurfaceinterface.createRectangle(ILcdModelReference aModelReference) Creates a newgml:Rectangle, which can be edited through theILcd3DEditableBoundsinterface.Creates a newgml:Ring, which can be edited through theILcdEditableCompositeCurveinterface.Creates a newgml:Surface, which can be edited through theILcdEditableShapeListinterface.createTriangle(ILcdModelReference aModelReference) Creates a newgml:Triangle, which can be edited through theILcd3DEditablePolygoninterface.
-
Constructor Details
-
TLcdGML31ShapeFactory
public TLcdGML31ShapeFactory()
-
-
Method Details
-
createArc
Creates a newgml:Arc, which can be edited through theILcd2DEditableCircularArcBy3Pointsinterface.- 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 theILcd2DEditableCircularArcByBulgeinterface.- 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 theILcd2DEditableCircularArcByCenterPointinterface.- 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 theILcd2DEditableCircleinterface.- 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 theILcd2DEditableCircleBy3Pointsinterface.- 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 theILcd3DEditablePolylineinterface.- 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 theILcd3DEditablePolylineinterface.- 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 theILcd3DEditablePolylineinterface.- 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 theILcd3DEditablePolylineinterface.- 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 theILcd3DEditablePolygoninterface.- 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 theILcd3DEditablePolygoninterface.- 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 theILcd3DEditableBoundsinterface.- 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 theILcd3DEditablePointListinterface.- 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 theILcd3DEditablePointListinterface.- Returns:
- new coordinates.
-
createDirectPosition2D
Creates a new 2-dimensionalgml:pos, which can be edited through theILcd2DEditablePointinterface.- 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 theILcd3DEditablePointinterface.- 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 theILcd3DEditablePointinterface.- 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 theILcd2DEditablePointinterface.- 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 theILcd2DEditableBoundsinterface.- 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 theILcdEditableCompositeCurveinterface.- Returns:
- a new ring
-
createMultiCurve
Creates a newMultiCurve:Ring, which can be edited through theILcdEditableShapeListinterface.- Returns:
- a new multicurve
-
createMultiGeometry
Creates a newgml:MultiGeometry, which can be edited through theILcdEditableShapeListinterface.- Returns:
- a new multigeometry
-
createMultiPoint
Creates a newgml:MultiPoint, which can be edited through theILcdEditableShapeListinterface.- Returns:
- a new multipoint
-
createCurve
Creates a newgml:Curve, which can be edited through theILcdEditableCompositeCurveinterface.- Returns:
- a new curve
-
createCompositeCurve
Creates a newgml:CompositeCurve, which can be edited through theILcdEditableCompositeCurveinterface.- Returns:
- a new composite curve
-
createSurface
Creates a newgml:Surface, which can be edited through theILcdEditableShapeListinterface.- Returns:
- a new surface
-
createMultiSurface
Creates a newgml:MultiSurface, which can be edited through theILcdEditableShapeListinterface.- Returns:
- a new multisurface
-
createPolygon
Creates a newgml:Polygon, which can be edited through theILcdEditableSurfaceinterface.- Returns:
- a new polygon
-
createPolygonPatch
Creates a newgml:PolygonPatch, which can be edited through theILcdEditableSurfaceinterface.- Returns:
- a new surface
-
createArcString
Creates a newgml:ArcString, which can be edited through theILcdCompositeCurveinterface.- 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 theILcdCompositeCurveinterface.- 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 theILcdCurveinterface.- 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
-