C# Class Revit.SDK.Samples.PathReinforcement.CS.Profile

This class stores the geometry information of path reinforcement.
Afficher le fichier Open project: AMEE/revit Class Usage Examples

Méthodes publiques

Méthode Description
Draw ( Graphics graphics, Size size, Pen pen ) : void

Draw the curves of path reinforcement.

Profile ( Autodesk pathRein, ExternalCommandData commandData ) : System

Constructor

Private Methods

Méthode Description
ComputeBound ( ) : void

Compute the bound of the curves of path reinforcement.

ComputePathTo2D ( ) : void

Transform 3d path to 2d path.

GetActiveViewMatrix ( ) : Matrix4

Get view matrix from active view.

Tessellate ( ) : void

Tessellate the curves of path reinforcement.

Method Details

Draw() public méthode

Draw the curves of path reinforcement.
public Draw ( Graphics graphics, Size size, Pen pen ) : void
graphics System.Drawing.Graphics Gdi object, used to draw curves of path reinforcement.
size System.Drawing.Size Bound to limit the size of the whole picture
pen System.Drawing.Pen Gdi object,determine the color of the line.
Résultat void

Profile() public méthode

Constructor
public Profile ( Autodesk pathRein, ExternalCommandData commandData ) : System
pathRein Autodesk selected path reinforcement element.
commandData ExternalCommandData External command data
Résultat System