public class DgnRootElement extends DgnElement
Represents root element of a DGN file
Constructor and Description |
---|
DgnRootElement(byte[] data)
Initializes a new instance of the
DgnRootElement class |
Modifier and Type | Method and Description |
---|---|
int |
getActiveCell()
Gets active cell
|
int |
getActiveLineTerminator()
Gets active line terminator
|
double |
getActiveLineTerminatorScale()
Gets active line terminator scale
|
double |
getActivePatteringAngle()
Gets active pattering angle
|
double |
getActivePatteringAngle2()
Gets second active pattering angle
|
int |
getActivePatteringCell()
Gets active pattering cell
|
int |
getActivePatteringColumnSpacing()
Gets active pattering column spacing
|
int |
getActivePatteringRowSpacing()
Gets active pattering row spacing
|
double |
getActivePatteringScale()
Gets active pattering scale
|
int |
getActivePoint()
Gets active point
|
double |
getAxisLockAngel()
Gets axis lock angel
|
double |
getAxisLockOrigin()
Gets axis lock origin
|
boolean |
getIs3D()
Gets a value indicating whether the file is 3D model
|
short |
getKeyPointSnapDivisor()
Gets key point snap divisor
|
short |
getKeyPointSnapFlag()
Gets key point snap flag
|
DgnPoint |
getOriginPoint()
Gets global origin point
|
double |
getScale()
Gets global scale factor
|
int |
getSubUnitType()
Gets or sets sub-unit type of design file
|
int |
getUnitType()
Gets or sets unit type of design file
|
getMetadata
public DgnRootElement(byte[] data)
Initializes a new instance of the DgnRootElement
class
data
- raw datapublic boolean getIs3D()
Gets a value indicating whether the file is 3D model
public double getScale()
Gets global scale factor
public DgnPoint getOriginPoint()
Gets global origin point
public double getAxisLockAngel()
Gets axis lock angel
public double getAxisLockOrigin()
Gets axis lock origin
public int getActiveCell()
Gets active cell
public double getActivePatteringScale()
Gets active pattering scale
public int getActivePatteringCell()
Gets active pattering cell
public int getActivePatteringRowSpacing()
Gets active pattering row spacing
public double getActivePatteringAngle()
Gets active pattering angle
public double getActivePatteringAngle2()
Gets second active pattering angle
public int getActivePatteringColumnSpacing()
Gets active pattering column spacing
public int getActivePoint()
Gets active point
public double getActiveLineTerminatorScale()
Gets active line terminator scale
public int getActiveLineTerminator()
Gets active line terminator
public short getKeyPointSnapFlag()
Gets key point snap flag
public short getKeyPointSnapDivisor()
Gets key point snap divisor
public int getUnitType()
Gets or sets unit type of design file
public int getSubUnitType()
Gets or sets sub-unit type of design file