Method | Description | |
---|---|---|
Draw ( |
Draw all the edges of solid in Graphics.
|
|
ElementGeometry ( Solid solid, BoundingBoxXYZ box ) : System |
Constructor, Construct a new object with an element's geometry Solid, and its corresponding bounding box.
|
|
InitializeTransform ( double width, double height ) : void |
Initialize the transform (includes translation, scale, and rotation).
|
|
ResetEdgeStates ( ) : void |
Reset all the edges' status to their original status.
|
Method | Description | |
---|---|---|
Update ( ) : void |
Update all the edges' transform (include translation, scale, and rotation), reconstruct the edge's geometry info.
|
public Draw ( |
||
g | Graphics, edges will be draw in it | |
return | void |
public ElementGeometry ( Solid solid, BoundingBoxXYZ box ) : System | ||
solid | Solid | Element's geometry Solid |
box | BoundingBoxXYZ | Element's geometry bounding box |
return | System |
public InitializeTransform ( double width, double height ) : void | ||
width | double | Width of the view |
height | double | Height of the view |
return | void |