프로퍼티 | 타입 | 설명 | |
---|---|---|---|
m_appCreator | Autodesk.Revit.Creation.Application | ||
m_commandData | Autodesk.Revit.UI.ExternalCommandData | ||
m_docCreator | Autodesk.Revit.Creation.Document | ||
m_moveToCenterMatrix | |||
m_points | List
|
||
m_restoreMatrix | |||
m_scaleMatrix | |||
m_sizePictureBox | |||
m_to2DMatrix | |||
m_transformMatrix |
메소드 | 설명 | |
---|---|---|
Compute3DTo2DMatrix ( ) : |
calculate the matrix used to transform 3D to 2D
|
|
ComputeScaleMatrix ( |
calculate the matrix use to scale
|
|
CreateOpening ( List |
abstract method to create Opening
|
|
Draw2D ( |
draw profile of wall or floor in 2D
|
|
GetFaceBounds ( ) : System.Drawing.PointF[] |
Get the bound of a face
|
|
GetFaceNormal ( List |
Get normal of face
|
|
GetFaces ( Autodesk elem ) : List
|
Get edges of element's profile
|
|
GetNeedPoints ( List
|
Get points in first face
|
|
GetTo2DMatrix ( ) : |
Get a matrix which can transform points to 2D
|
|
ToCenterMatrix ( ) : |
Get a matrix which can move points to center
|
|
Transform2DTo3D ( |
transform the point on Form to 3d world coordinate of revit
|
메소드 | 설명 | |
---|---|---|
Profile ( ExternalCommandData commandData ) : System |
constructor
|
메소드 | 설명 | |
---|---|---|
TransformPoints ( |
use matrix to transform point
|
public ComputeScaleMatrix ( |
||
size | pictureBox size | |
리턴 |
public abstract CreateOpening ( List |
||
points | List |
points used to create Opening |
리턴 | Opening |
public Draw2D ( |
||
graphics | form graphic | |
pen | pen used to draw line in pictureBox | |
matrix4 | Matrix used to transform 3d to 2d /// and make picture in right scale | |
리턴 | void |
public GetFaceBounds ( ) : System.Drawing.PointF[] | ||
리턴 | System.Drawing.PointF[] |
public GetFaceNormal ( List |
||
face | List |
edges in a face |
리턴 | Vector4 |
public GetNeedPoints ( List
|
||
faces | List |
edges in all faces |
리턴 | List
|
protected Profile ( ExternalCommandData commandData ) : System | ||
commandData | ExternalCommandData | object which contains reference to Revit Application |
리턴 | System |
public Transform2DTo3D ( |
||
ps | contain the points to be transformed | |
리턴 | List |
protected Autodesk.Revit.Creation.Application m_appCreator | ||
리턴 | Autodesk.Revit.Creation.Application |
protected ExternalCommandData,Autodesk.Revit.UI m_commandData | ||
리턴 | Autodesk.Revit.UI.ExternalCommandData |
protected Autodesk.Revit.Creation.Document m_docCreator | ||
리턴 | Autodesk.Revit.Creation.Document |
protected Matrix4,Revit.SDK.Samples.ShaftHolePuncher.CS m_moveToCenterMatrix | ||
리턴 |
protected Matrix4,Revit.SDK.Samples.ShaftHolePuncher.CS m_restoreMatrix | ||
리턴 |
protected Matrix4,Revit.SDK.Samples.ShaftHolePuncher.CS m_scaleMatrix | ||
리턴 |
protected Matrix4,Revit.SDK.Samples.ShaftHolePuncher.CS m_to2DMatrix | ||
리턴 |