Package com.luciad.ais.model
Class TLcdAISDataObjectFactory
java.lang.Object
com.luciad.ais.model.TLcdAISDataObjectFactory
This class defines a factory for creating AIS domain objects. This class replaces the deprecated
ALcdAISObjectFactory
. Creation of geometry is delegated to a separate factory class
ALcdAISGeometryFactory
, to reduce the amount of factory methods. This class ensures that the domain objects it creates have a proper data type filled in.
- Since:
- 10.1
-
Constructor Summary
ConstructorDescriptionCreates a new data object factory that usesTLcdAISLonLatHeightGeometryFactory
as geometry factory, initialized with the default WGS 84 ellipsoid.TLcdAISDataObjectFactory
(ALcdAISGeometryFactory aGeometryFactory) Creates a new data object factory that uses the given geometry factory to create geometries for the data objects.TLcdAISDataObjectFactory
(ILcdEllipsoid aEllipsoid) Creates a new data object factory that usesTLcdAISLonLatHeightGeometryFactory
as geometry factory, initialized with the given ellipsoid. -
Method Summary
Modifier and TypeMethodDescriptioncreateAerodrome
(ILcdEditableAerodrome aAerodrome) Creates a copy of the givenILcdEditableAerodrome
.createAerodrome
(TLcdDataType aType) Creates anILcdEditableAerodrome
.createAirspace
(TLcdDataType aType) Creates anILcdEditableAirspace
.Creates anILcdEditableAirspaceAssociation
.Creates anILcdEditableAirspaceCorridor
.createAirspaceSegment
(int aType) Creates anILcdEditableAirspaceSegment
of the given geopath leg type.createApproachPath
(TLcdDataType aDataType) Creates anILcdFinalApproachPath
.createAreaMinimumAltitude
(TLcdDataType aDataType) Creates anILcdEditableAreaMinimumAltitude
.createArrestingGear
(TLcdDataType aType) Creates anILcdEditableArrestingGear
.Creates anILcdEditableAssociationBasedAirspace
.createATSRoute
(TLcdDataType aType) Creates anILcdEditableATSRoute
.createDME
(TLcdDataType aType) Creates anILcdEditableDME
.createGeoborder
(ILcdGeoborder aSourceGeoborder, ILcd3DEditablePointList aPointList) Creates a copy of anILcdGeoborder
with a given geometry.createGeoborder
(TLcdDataType aType, ILcd3DEditablePointList aPointList) Creates anILcdGeoborder
.createGeoPathLeg
(int aType) Creates anILcdEditableGeoPathLeg
of the given geopath leg type.createGlidePath
(TLcdDataType aType) Creates anILcdEditableGlidePath
.createHelipad
(TLcdDataType aType) Creates anILcdEditableHelipad
.createHolding
(TLcdDataType aType) Creates anILcdEditableHolding
.createILS
(TLcdDataType aType) Creates anILcdEditableILS
.createLocalizer
(TLcdDataType aType) Creates anILcdEditableLocalizer
.Creates anILcdEditableLocationBasedService
.createMarker
(TLcdDataType aType) Creates anILcdEditableMarker
.Creates anILcdEditableMilitaryTrainingRoute
.Creates anILcdEditableMilitaryTrainingRoutePoint
.createMinimumSectorAltitude
(TLcdDataType aDataType) Creates anILcdEditableMinimumSectorAltitude
.createNDB
(TLcdDataType aType) Creates anILcdEditableNDB
.createObstacle
(TLcdDataType aType) Creates anILcdEditableObstacle
.createOrtca
(TLcdDataType aType) Creates anILcdEditableOrtca
.Creates anILcdEditableParachuteJumpArea
.createParachuteJumpAreaSegment
(int aType) Creates anILcdEditableParachuteJumpAreaSegment
of the given geopath leg type.createProcedure
(TLcdDataType aType) Creates anILcdEditableProcedure
.createProcedureLeg
(TLcdDataType aType) Creates anILcdEditableProcedureLeg
.createProcedureLeg
(TLcdDataType aType, String aProcedureLegType) Creates anILcdEditableProcedureLeg
of the given type.createProcedureTrajectory
(ILcdProcedure aProcedure) Creates aTLcdProcedureTrajectory
for the given procedure.Creates anILcdEditableRefuelingAirspace
.createRefuelingTrack
(ILcdRefuelingTrack aSourceTrack, ILcd3DEditablePointList aPointList) Creates a copy of anILcdEditableRefuelingTrack
with a given geometry.createRefuelingTrack
(TLcdDataType aType, ILcd3DEditablePointList aPointList) Creates anILcdEditableRefuelingTrack
.Creates anILcdEditableRefuelingTrackPoint
.createRouteSegment
(TLcdDataType aType, ILcd3DEditablePoint aBeginPoint, ILcd3DEditablePoint aEndPoint) Creates anILcdEditableRouteSegment
with the given begin and end point.createRunway
(TLcdDataType aType) Creates anILcdEditableRunway
.Creates anILcdEditableRunwayClinePoint
.Creates anILcdEditableRunwayDirection
.createSector
(TLcdDataType aDataType) Creates anILcdEditableSector
.createTACAN
(TLcdDataType aType) Creates anILcdEditableTACAN
.createVFRRoute
(TLcdDataType aType) Creates anILcdEditableVFRRoute
.createVFRRoutePoint
(TLcdDataType aType) Creates anILcdEditableVFRRoutePoint
.createVOR
(TLcdDataType aType) Creates anILcdEditableVOR
.createWayPoint
(TLcdDataType aType) Creates anILcdEditableWayPoint
.Returns the performance settings that this factory uses when creating procedure trajectories.Returns the geometry calculator that this factory used when creating procedure trajectories.Returns the geometry factory that is used by this data object factory.void
Sets the defaultTLcdAircraftPerformanceSettings
to be used bycreateProcedureTrajectory
.void
Sets the defaultTLcdProcedureGeometryCalculator
to be used bycreateProcedureTrajectory
.
-
Constructor Details
-
TLcdAISDataObjectFactory
Creates a new data object factory that uses the given geometry factory to create geometries for the data objects.- Parameters:
aGeometryFactory
- A geometry factory.
-
TLcdAISDataObjectFactory
Creates a new data object factory that usesTLcdAISLonLatHeightGeometryFactory
as geometry factory, initialized with the given ellipsoid.- Parameters:
aEllipsoid
- The ellipsoid that will be used to create data objects.- See Also:
-
TLcdAISDataObjectFactory
public TLcdAISDataObjectFactory()Creates a new data object factory that usesTLcdAISLonLatHeightGeometryFactory
as geometry factory, initialized with the default WGS 84 ellipsoid.- See Also:
-
-
Method Details
-
createLocationBasedService
Creates anILcdEditableLocationBasedService
. The location of this service is created by the geometry factory.- Parameters:
aType
- The data type of the object that should be either an extension of theLocationBasedService
AIS base type, or the'Unknown'
type.- Returns:
- A location based service with a default location.
- See Also:
-
createILS
Creates anILcdEditableILS
.- Parameters:
aType
- The data type of the object that should be either an extension of theILS
AIS base type, or the'Unknown'
type.- Returns:
- An editable ILS.
- See Also:
-
createOrtca
Creates anILcdEditableOrtca
. The geometry of this ORTCA (Off-Route Terrain Clearance Altitude) is created by the geometry factory.- Parameters:
aType
- The data type of the object that should be either an extension of theOrtca
AIS base type, or the'Unknown'
type.- Returns:
- An ORTCA with a default geometry.
- See Also:
-
createAerodrome
Creates a copy of the givenILcdEditableAerodrome
.- Parameters:
aAerodrome
- the aerodrome to be copied.- Returns:
- returns a copy of the given
ILcdEditableAerodrome
.
-
createAerodrome
Creates anILcdEditableAerodrome
. The location of this aerodrome is initialized by the geometry factory.- Parameters:
aType
- The data type of the object that should be either an extension of theAerodrome
AIS base type, or the'Unknown'
type.- Returns:
- An aerodrome with a default location.
- See Also:
-
createRunway
Creates anILcdEditableRunway
. The geometry of this runway is created by the geometry factory.- Parameters:
aType
- The data type of the object that should be either an extension of theRunway
AIS base type, or the'Unknown'
type.- Returns:
- A runway with a default geometry.
- See Also:
-
createRunwayClinePoint
Creates anILcdEditableRunwayClinePoint
. The location of this runway cline point is created by the geometry factory.- Parameters:
aType
- The data type of the object that should be either an extension of theRunwayClinePoint
AIS base type, or the'Unknown'
type.- Returns:
- A runway cline point with a default geometry.
- See Also:
-
createHelipad
Creates anILcdEditableHelipad
.- Parameters:
aType
- The data type of the object that should be either an extension of theHelipad
AIS base type, or the'Unknown'
type.- Returns:
- A helipad.
- See Also:
-
createArrestingGear
Creates anILcdEditableArrestingGear
. The location of this arresting gear is initialized by the geometry factory.- Parameters:
aType
- The data type of the object that should be either an extension of theArrestingGear
AIS base type, or the'Unknown'
type.- Returns:
- An arresting gear with a default location.
- See Also:
-
createRunwayDirection
Creates anILcdEditableRunwayDirection
.- Parameters:
aType
- The data type of the object that should be either an extension of theRunwayDirection
AIS base type, or the'Unknown'
type.- Returns:
- A runway direction.
- See Also:
-
createGeoborder
Creates anILcdGeoborder
. The geometry of this geoborder is created by the geometry factory based on the given point list.- Parameters:
aType
- The data type of the object that should be either an extension of theGeoborder
AIS base type, or the'Unknown'
type.aPointList
- A pointlist that represents the geometry of this geoborder.- Returns:
- A geoborder with a geometry based on aPointList.
- See Also:
-
createGeoborder
public ILcdGeoborder createGeoborder(ILcdGeoborder aSourceGeoborder, ILcd3DEditablePointList aPointList) Creates a copy of anILcdGeoborder
with a given geometry.- Parameters:
aSourceGeoborder
- The geoborder to copyaPointList
- A pointlist that should be used to create the geometry of the geoborder.- Returns:
- A geoborder with the same properties as aSourceGeoborder and a geometry that corresponds to aPointList.
- See Also:
-
createRefuelingTrack
public ILcdEditableRefuelingTrack createRefuelingTrack(TLcdDataType aType, ILcd3DEditablePointList aPointList) Creates anILcdEditableRefuelingTrack
. The geometry of this refueling track is created by the geometry factory based on the given point list.- Parameters:
aType
- The data type of the object that should be either an extension of theRefuelingTrack
AIS base type, or the'Unknown'
type.aPointList
- A pointlist that represents the geometry of this refueling track.- Returns:
- A refueling track with a geometry based on aPointList.
- See Also:
-
createRefuelingTrack
public ILcdEditableRefuelingTrack createRefuelingTrack(ILcdRefuelingTrack aSourceTrack, ILcd3DEditablePointList aPointList) Creates a copy of anILcdEditableRefuelingTrack
with a given geometry.- Parameters:
aSourceTrack
- The refueling track to copyaPointList
- A pointlist that should be used to create the geometry of the refueling track.- Returns:
- A refueling track with the same properties as aSourceTrack and a geometry that corresponds to aPointList.
- See Also:
-
createRefuelingTrackPoint
Creates anILcdEditableRefuelingTrackPoint
. The location of this refueling track point is initialized by the geometry factory.- Parameters:
aType
- The data type of the object that should be either an extension of theRefuelingTrackPoint
AIS base type, or the'Unknown'
type.- Returns:
- A refueling track point with a default location.
- See Also:
-
createRefuelingAirspace
Creates anILcdEditableRefuelingAirspace
.- Parameters:
aType
- The data type of the object that should be either an extension of theRefuelingAirspace
AIS base type, or the'Unknown'
type.- Returns:
- A refueling airspace.
- See Also:
-
createParachuteJumpArea
Creates anILcdEditableParachuteJumpArea
.- Parameters:
aType
- The data type of the object that should be either an extension of theParachuteJumpArea
AIS base type, or the'Unknown'
type.- Returns:
- A parachute jump area.
- See Also:
-
createWayPoint
Creates anILcdEditableWayPoint
. The location of this waypoint is initialized by the geometry factory.- Parameters:
aType
- The data type of the object that should be either an extension of theWayPoint
AIS base type, or the'Unknown'
type.- Returns:
- A waypoint with a default location.
- See Also:
-
createAirspace
Creates anILcdEditableAirspace
.- Parameters:
aType
- The data type of the object that should be either an extension of theAirspace
AIS base type, or the'Unknown'
type.- Returns:
- An airspace.
- See Also:
-
createAssociationBasedAirspace
Creates anILcdEditableAssociationBasedAirspace
.- Parameters:
aType
- The data type of the object that should be either an extension of theAssociationBasedAirspace
AIS base type, or the'Unknown'
type.- Returns:
- An association based airspace.
- See Also:
-
createAirspaceCorridor
Creates anILcdEditableAirspaceCorridor
.- Parameters:
aType
- The data type of the object that should be either an extension of theAirspaceCorridor
AIS base type, or the'Unknown'
type.- Returns:
- An airspace corridor.
- See Also:
-
createRouteSegment
public ILcdEditableRouteSegment createRouteSegment(TLcdDataType aType, ILcd3DEditablePoint aBeginPoint, ILcd3DEditablePoint aEndPoint) Creates anILcdEditableRouteSegment
with the given begin and end point.- Parameters:
aType
- The data type of the object that should be either an extension of theRouteSegment
AIS base type, or the'Unknown'
type.aBeginPoint
- the begin point of the route segmentaEndPoint
- the end point of the route segment- Returns:
- A route segment with the given begin and end point.
- See Also:
-
createATSRoute
Creates anILcdEditableATSRoute
. The geometry of this ATS route is created by the geometry factory.- Parameters:
aType
- The data type of the object that should be either an extension of theATSRoute
AIS base type, or the'Unknown'
type.- Returns:
- An ATS route with a default geometry.
- See Also:
-
createMilitaryTrainingRoute
Creates anILcdEditableMilitaryTrainingRoute
. The geometry of this military training route is created by the geometry factory.- Parameters:
aType
- The data type of the object that should be either an extension of theMilitaryTrainingRoute
AIS base type, or the'Unknown'
type.- Returns:
- An ATS route with a default geometry.
- See Also:
-
createMilitaryTrainingRoutePoint
Creates anILcdEditableMilitaryTrainingRoutePoint
. The location of this military training route point is initialized by the geometry factory.- Parameters:
aType
- The data type of the object that should be either an extension of theMilitaryTrainingRoutePoint
AIS base type, or the'Unknown'
type.- Returns:
- A military training route point with a default location.
- See Also:
-
createVOR
Creates anILcdEditableVOR
. The location of this VOR is initialized by the geometry factory.- Parameters:
aType
- The data type of the object that should be either an extension of theVOR
AIS base type, or the'Unknown'
type.- Returns:
- A VOR with a default location.
- See Also:
-
createTACAN
Creates anILcdEditableTACAN
. The location of this TACAN is initialized by the geometry factory.- Parameters:
aType
- The data type of the object that should be either an extension of theTACAN
AIS base type, or the'Unknown'
type.- Returns:
- A TACAN with a default location.
- See Also:
-
createNDB
Creates anILcdEditableNDB
. The location of this NDB is initialized by the geometry factory.- Parameters:
aType
- The data type of the object that should be either an extension of theNDB
AIS base type, or the'Unknown'
type.- Returns:
- A NDB with a default location.
- See Also:
-
createDME
Creates anILcdEditableDME
. The location of this DME is initialized by the geometry factory.- Parameters:
aType
- The data type of the object that should be either an extension of theDME
AIS base type, or the'Unknown'
type.- Returns:
- A DME with a default location.
- See Also:
-
createGlidePath
Creates anILcdEditableGlidePath
. The location of this glide path is initialized by the geometry factory.- Parameters:
aType
- The data type of the object that should be either an extension of theGlidePath
AIS base type, or the'Unknown'
type.- Returns:
- A glide path with a default location.
- See Also:
-
createLocalizer
Creates anILcdEditableLocalizer
. The location of this localizer is initialized by the geometry factory.- Parameters:
aType
- The data type of the object that should be either an extension of theLocalizer
AIS base type, or the'Unknown'
type.- Returns:
- A localizer with a default location.
- See Also:
-
createMarker
Creates anILcdEditableMarker
. The location of this marker is initialized by the geometry factory.- Parameters:
aType
- The data type of the object that should be either an extension of theMarker
AIS base type, or the'Unknown'
type.- Returns:
- A marker with a default location.
- See Also:
-
createVFRRoute
Creates anILcdEditableVFRRoute
. The geometry of this VFR route is created by the geometry factory.- Parameters:
aType
- The data type of the object that should be either an extension of theVFRRoute
AIS base type, or the'Unknown'
type.- Returns:
- A VFR route with a default geometry.
- See Also:
-
createVFRRoutePoint
Creates anILcdEditableVFRRoutePoint
. The location of this VFR route point is initialized by the geometry factory.- Parameters:
aType
- The data type of the object that should be either an extension of theVFRRoutePoint
AIS base type, or the'Unknown'
type.- Returns:
- A VFR route point with a default location.
- See Also:
-
createObstacle
Creates anILcdEditableObstacle
. The location of this obstacle is initialized by the geometry factory.- Parameters:
aType
- The data type of the object that should be either an extension of theObstacle
AIS base type, or the'Unknown'
type.- Returns:
- An obstacle with a default location.
- See Also:
-
createProcedure
Creates anILcdEditableProcedure
.- Parameters:
aType
- The data type of the object that should be either an extension of theProcedure
AIS base type, or the'Unknown'
type.- Returns:
- A procedure.
- See Also:
-
createProcedureLeg
Creates anILcdEditableProcedureLeg
.- Parameters:
aType
- The data type of the object that should be either an extension of theProcedureLeg
AIS base type, or the'Unknown'
type.- Returns:
- A procedure leg.
- See Also:
-
createProcedureLeg
Creates anILcdEditableProcedureLeg
of the given type.- Parameters:
aType
- The data type of the object that should be either an extension of theProcedureLeg
AIS base type, or the'Unknown'
type.aProcedureLegType
- The type of the leg to create.- Returns:
- A procedure leg of the given type.
- See Also:
-
createHolding
Creates anILcdEditableHolding
.- Parameters:
aType
- The data type of the object that should be either an extension of theHolding
AIS base type, or the'Unknown'
type.- Returns:
- A holding.
- See Also:
-
createProcedureTrajectory
Creates aTLcdProcedureTrajectory
for the given procedure. A procedure trajectory calculates and caches the geometry of a procedure, and is the preferred way to add procedures to anILcdModel
.- Parameters:
aProcedure
- theILcdProcedure
to be wrapped by the procedure trajectory- Returns:
- the procedure trajectory for the given procedure.
- See Also:
-
setDefaultAircraftPerformanceSettings
Sets the defaultTLcdAircraftPerformanceSettings
to be used bycreateProcedureTrajectory
.- Parameters:
aSettings
- the aircraft performance settings to be used for creating procedure trajectories.- See Also:
-
getDefaultAircraftPerformanceSettings
Returns the performance settings that this factory uses when creating procedure trajectories.- Returns:
- the performance settings of this factory
- See Also:
-
setDefaultProcedureGeometryCalculator
Sets the defaultTLcdProcedureGeometryCalculator
to be used bycreateProcedureTrajectory
.- Parameters:
aCalculator
- the procedure geometry calculator to be used for creating procedure trajectories.- See Also:
-
getDefaultProcedureGeometryCalculator
Returns the geometry calculator that this factory used when creating procedure trajectories.- Returns:
- the geometry calculator used by this factory
- See Also:
-
createAirspaceAssociation
Creates anILcdEditableAirspaceAssociation
.- Parameters:
aType
- The data type of the object that should be either an extension of theAirspaceAssociation
AIS base type, or the'Unknown'
type.- Returns:
- An airspace association.
- See Also:
-
createAreaMinimumAltitude
Creates anILcdEditableAreaMinimumAltitude
.- Parameters:
aDataType
- The data type of the object that should be either an extension of theAIS base type
, or the'Unknown'
type.- Returns:
- ILcdEditableAreaMinimumAltitude instance
-
createMinimumSectorAltitude
Creates anILcdEditableMinimumSectorAltitude
.- Parameters:
aDataType
- The data type of the object that should be either an extension of theAIS base type
, or the'Unknown'
type.- Returns:
- an
ILcdEditableMinimumSectorAltitude
instance - Since:
- 2022.0
-
createSector
Creates anILcdEditableSector
.- Parameters:
aDataType
- The data type of the object that should be either an extension of theAIS base type
, or the'Unknown'
type.- Returns:
- an
ILcdEditableSector
instance - Since:
- 2022.0
-
createApproachPath
Creates anILcdFinalApproachPath
.- Parameters:
aDataType
- The data type of the object that should be either an extension of theAIS base type
, or the'Unknown'
type.- Returns:
- an
ILcdApproachPath
instance - Since:
- 2023.1
-
createAirspaceSegment
Creates anILcdEditableAirspaceSegment
of the given geopath leg type. The location of this airspace segment is initialized by the geometry factory.- Parameters:
aType
- The type of geo path leg.- Returns:
- An airspace segment
- See Also:
-
createGeoPathLeg
Creates anILcdEditableGeoPathLeg
of the given geopath leg type. The location of this geopath leg is initialized by the geometry factory.- Parameters:
aType
- The type of geo path leg.- Returns:
- A geo path leg
- See Also:
-
createParachuteJumpAreaSegment
Creates anILcdEditableParachuteJumpAreaSegment
of the given geopath leg type. The location of this parachute jump area segment is initialized by the geometry factory.- Parameters:
aType
- The type of geo path leg.- Returns:
- A parachute jump area segment
- See Also:
-
getGeometryFactory
Returns the geometry factory that is used by this data object factory.- Returns:
- A geometry factory.
-