Package com.luciad.format.magneticnorth
Class TLcdMagneticNorthDataTypes
java.lang.Object
com.luciad.format.magneticnorth.TLcdMagneticNorthDataTypes
Contains the data types and data model for the magnetic north format.
- Since:
- 10.1
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TLcdDataType
Contains information about the shape contained in a Magnetic North domain object.static final TLcdDataType
Represents the model element data type for Magnetic North models. -
Method Summary
Modifier and TypeMethodDescriptionstatic TLcdDataModel
Returns the staticTLcdDataModel
for magnetic north.
-
Field Details
-
MagneticNorthType
Represents the model element data type for Magnetic North models. This type is annotated with theTLcdHasAShapeAnnotation
, to indicate that this type has a property that contains the geometry of the element. This type contains the following properties:- "MagneticNorthDeclination": gives the magnetic north declination as a double. This property has a
TLcdISO19103MeasureAnnotation
which defines the unit of measure used by the property. By default this annotation assumes the use ofTLcdAngleUnit.DEGREE
. - "MagneticNorthShape": gives the shape of the magnetic north. Its type is
MagneticNorthShapeType
.
- "MagneticNorthDeclination": gives the magnetic north declination as a double. This property has a
-
MagneticNorthShapeType
Contains information about the shape contained in a Magnetic North domain object. By default, the instance class of this type isILcdShape
, and a more concrete implementation should be determined at runtime. This will usually be anILcdPolyline
, unless the Magnetic North model decoders (TLcdWMMModelDecoder
andTLcdGRFModelDecoder
) have have theirsetCreateValuedPolygons()
methods set to true. In which case the shape will be an instance ofILcdPolygon
.
-
-
Method Details
-
getDataModel
Returns the staticTLcdDataModel
for magnetic north.- Returns:
- A
TLcdDataModel
-