DgnCellHeaderElement
Inheritance: java.lang.Object, DgnDrawingElementBase
All Implemented Interfaces: ICompositeDgnElement
Represents cell header element
Constructors
| Constructor | Description |
|---|---|
| DgnCellHeaderElement(byte[] rawData, boolean is3DElementExpected) | Initializes a new instance of the DgnCellHeaderElement class |
Methods
| Method | Description |
|---|---|
| getName() | Gets cell name |
| getClassBitmap() | Gets cell’s class bit map |
| getLevels() | Gets array of levels used in cell |
| getRangeBlockLow() | Gets cell’s range block low |
| getRangeBlockHi() | Gets cell’s range block hi |
| getTransFormationMatrix() | Gets cell’s 2D/3D transformation matrix |
| getOrigin() | Gets cell’s origin point |
| getXScale() | Gets cell’s x scale |
| getYScale() | Gets cell’s y scale |
| getRotation() | Gets cell’s rotation angle |
| getChilds() | Gets childs of the composite element |
| addChild(DgnElement child) | Adds element as a child |
| getMinPoint() | Gets the min point of object. |
| getMaxPoint() | Gets the max point of object. |
DgnCellHeaderElement(byte[] rawData, boolean is3DElementExpected)
public DgnCellHeaderElement(byte[] rawData, boolean is3DElementExpected)
Initializes a new instance of the DgnCellHeaderElement class
Parameters:
| Parameter | Type | Description |
|---|---|---|
| rawData | byte[] | raw data |
| is3DElementExpected | boolean | is 3D |
getName()
public String getName()
Gets cell name
Returns: String
getClassBitmap()
public int getClassBitmap()
Gets cell’s class bit map
Returns: int
getLevels()
public int[] getLevels()
Gets array of levels used in cell
Returns: int[]
getRangeBlockLow()
public DgnPoint getRangeBlockLow()
Gets cell’s range block low
Returns: DgnPoint
getRangeBlockHi()
public DgnPoint getRangeBlockHi()
Gets cell’s range block hi
Returns: DgnPoint
getTransFormationMatrix()
public double[] getTransFormationMatrix()
Gets cell’s 2D/3D transformation matrix
Returns: double[]
getOrigin()
public DgnPoint getOrigin()
Gets cell’s origin point
Returns: DgnPoint
getXScale()
public double getXScale()
Gets cell’s x scale
Returns: double
getYScale()
public double getYScale()
Gets cell’s y scale
Returns: double
getRotation()
public double getRotation()
Gets cell’s rotation angle
Returns: double
getChilds()
public List<DgnDrawingElementBase> getChilds()
Gets childs of the composite element
Returns: List
addChild(DgnElement child)
public void addChild(DgnElement child)
Adds element as a child
Parameters:
| Parameter | Type | Description |
|---|---|---|
| child | DgnElement | element to add as a child |
getMinPoint()
public Cad3DPoint getMinPoint()
Gets the min point of object.
Returns: Cad3DPoint - Min point of object.
getMaxPoint()
public Cad3DPoint getMaxPoint()
Gets the max point of object.
Returns: Cad3DPoint - Max point of object.