Method | Description | |
---|---|---|
AddCrease ( |
Add Crease on specific location
|
|
AddVertex ( |
Add vertex on specific location
|
|
CanCreateVertex ( |
judge whether point can use to create vertex on slab
|
|
ClearRotateMatrix ( ) : void |
make rotate matrix null
|
|
Draw2D ( |
draw profile of Slab in pictureBox
|
|
DrawCurve ( |
draw specific points in pictureBox
|
|
Get2DTo3DMatrix ( ) : |
calculate the matrix used to transform 2D to 3D
|
|
Get3DTo2DMatrix ( ) : |
calculate the matrix used to transform 3D to 2D
|
|
GetBoundsPoints ( ) : System.Drawing.PointF[] |
Get max and min coordinates of all points
|
|
GetFloorEdges ( ) : EdgeArray |
Get all points of the Slab
|
|
GetMoveToCenterMatrix ( ) : |
Get a matrix which can move points to center of itself
|
|
GetScaleMatrix ( ) : |
calculate the matrix use to scale
|
|
GetSlabProfileInfo ( ) : void |
Calculate geometry info for Slab
|
|
GetTo2DMatrix ( ) : |
Get a matrix which can transform points to 2D
|
|
ResetSlabShape ( ) : void |
Reset index and clear line tool
|
|
RotateFloor ( double xAngle, double yAngle ) : void |
rotate slab with specific angle
|
|
SlabProfile ( Autodesk floor, ExternalCommandData commandData ) : System |
constructor
|
Method | Description | |
---|---|---|
GetMoveToCenterOfPictureBox ( ) : |
Get a matrix which can move points to center of picture box
|
public AddCrease ( |
||
point1 | first point of location where Crease add on | |
point2 | second point of location where Crease add on | |
return | SlabShapeCrease |
public AddVertex ( |
||
point | location where vertex add on | |
return | SlabShapeVertex |
public CanCreateVertex ( |
||
pointF | ||
return | bool |
public Draw2D ( |
||
graphics | form graphic | |
pen | pen used to draw line in pictureBox | |
return | void |
public DrawCurve ( |
||
graphics | form graphic | |
pen | pen used to draw line in pictureBox | |
points | List |
points which need to be drawn |
return | void |
public GetBoundsPoints ( ) : System.Drawing.PointF[] | ||
return | System.Drawing.PointF[] |
public RotateFloor ( double xAngle, double yAngle ) : void | ||
xAngle | double | rotate angle in X direction |
yAngle | double | rotate angle in Y direction |
return | void |
public SlabProfile ( Autodesk floor, ExternalCommandData commandData ) : System | ||
floor | Autodesk | Floor object in Revit |
commandData | ExternalCommandData | contains reference of Revit Application |
return | System |