C# Class Revit.SDK.Samples.CurtainWallGrid.CS.GridCoordinates

Maintain the matrixes needed by 3D & 2D operations: pan, zoom, 2D->3D, 3D->2D
Afficher le fichier Open project: AMEE/revit Class Usage Examples

Méthodes publiques

Méthode Description
GetMatrix ( ) : void

obtain the matrixes used in this dialog

GridCoordinates ( MyDocument myDoc, GridDrawing drawing ) : System

constructor

Private Methods

Méthode Description
Get2DTo3DMatrix ( ) : Matrix4

calculate the matrix used to transform 2D to 3D

Get3DTo2DMatrix ( ) : Matrix4

calculate the matrix used to transform 3D to 2D

GetBoundsPoints ( ) : List

Get max and min coordinates of all points

GetMoveToCenterMatrix ( ) : Matrix4

Get a matrix which can move points to center

GetScaleMatrix ( ) : Matrix4

calculate the matrix used to scale

GetTo2DMatrix ( ) : Matrix4

Get a matrix which can transform points to 2D

Method Details

GetMatrix() public méthode

obtain the matrixes used in this dialog
public GetMatrix ( ) : void
Résultat void

GridCoordinates() public méthode

constructor
public GridCoordinates ( MyDocument myDoc, GridDrawing drawing ) : System
myDoc MyDocument /// the document of this sample ///
drawing GridDrawing /// the GridDrawing data used in the dialog ///
Résultat System