Méthode | Description | |
---|---|---|
Draw ( |
draw the line contain in m_lines in 2d Preview
|
|
MoveX ( bool left ) : void |
move view in horizontal direction
|
|
MoveY ( bool up ) : void |
move view in vertical direction
|
|
Sketch3D ( |
The default constructor
|
|
Zoom ( bool zoomIn ) : void |
zoom the displayed drawing in canvas
|
Méthode | Description | |
---|---|---|
Calculate2DTransform ( ) : void |
calculate the transform between canvas and 2D geometry objects
|
|
Calculate3DTransform ( ) : void |
calculate the transform between canvas and 3D geometry objects
|
|
CalculateCanvasRegion ( float previewWidth, float previewHeigh, |
get the display region, adjust the proportion and location
|
|
DataUpdateViewEvent ( ) : void |
update according data when 3D data is updated
|
|
DrawCurves ( |
Draw curves
|
|
Initialize2DData ( ) : void |
initialize 2D drawing data
|
|
Initialize3DData ( ) : void |
initialize 3D drawing data
|
|
PreTreatBBox ( |
pretreat BBoundingBox so that its height or width will be bigger than zero
|
|
ToBoundingBox2D ( BoundingBoxXYZ bbox3D ) : |
Get X and Y data of 3D BoundingBox to creat a 2D BoundingBox
|
|
UpdateDataAndEvent ( ) : void |
update drawing data according and related Event
|
public Draw ( |
||
graphics | Graphics to draw | |
Résultat | void |
public Sketch3D ( |
||
data3D | a list contain all the 3d data | |
data2D | a list contain all the 3d data | |
Résultat | System |
public Zoom ( bool zoomIn ) : void | ||
zoomIn | bool | true for zoom in, false for zoom out |
Résultat | void |