Package com.luciad.format.dgn
Class TLcdDGNReferenceFile
java.lang.Object
com.luciad.format.dgn.TLcdDGNReferenceFile
- All Implemented Interfaces:
Serializable
This class represents a pointer to a DGN reference file, as specified inside a
DGN file.
- See Also:
-
Constructor Summary
ConstructorDescriptionTLcdDGNReferenceFile
(String aFileSpecification, String aLogicalName, String aDescription, int aFileNumber, long aLevelMask, TLcdDGNLevelSymbology aLevelSymbology, ILcdPoint aReferenceOrigin, ILcdPoint aMasterOrigin, double aRotationAngle, double aConversionFactor, ILcdPointList aClip) -
Method Summary
Modifier and TypeMethodDescriptiongetClip()
Returns the clip.double
Returns the scale factor of the reference file with respect to the master file.int
long
Returns the master origin.Returns the reference origin.double
Returns the rotation angle of the reference file with respect to the master file, expressed in radians.
-
Constructor Details
-
TLcdDGNReferenceFile
public TLcdDGNReferenceFile(String aFileSpecification, String aLogicalName, String aDescription, int aFileNumber, long aLevelMask, TLcdDGNLevelSymbology aLevelSymbology, ILcdPoint aReferenceOrigin, ILcdPoint aMasterOrigin, double aRotationAngle, double aConversionFactor, ILcdPointList aClip)
-
-
Method Details
-
getFileSpecification
-
getLogicalName
-
getDescription
-
getFileNumber
public int getFileNumber() -
getLevelMask
public long getLevelMask() -
getLevelSymbology
-
getReferenceOrigin
Returns the reference origin. Note that this point is still expressed in positional units (= units of resolution). It has to be divided by the reference file's positional units per master unit to obtain the origin in master units. -
getMasterOrigin
Returns the master origin. Note that this point is still expressed in positional units (= units of resolution). It has to be divided by the master file's positional units per master unit to obtain the origin in master units. -
getRotationAngle
public double getRotationAngle()Returns the rotation angle of the reference file with respect to the master file, expressed in radians. -
getConversionFactor
public double getConversionFactor()Returns the scale factor of the reference file with respect to the master file. -
getClip
Returns the clip. Note that its points are still expressed in positional units (= units of resolution). They have to be divided by the reference file's positional units per master unit to obtain coordinates in master units.
-