C# Класс Revit.SDK.Samples.PathReinforcement.CS.Profile

This class stores the geometry information of path reinforcement.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Draw ( Graphics graphics, Size size, Pen pen ) : void

Draw the curves of path reinforcement.

Profile ( Autodesk pathRein, ExternalCommandData commandData ) : System

Constructor

Приватные методы

Метод Описание
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.

Описание методов

Draw() публичный Метод

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.
Результат void

Profile() публичный Метод

Constructor
public Profile ( Autodesk pathRein, ExternalCommandData commandData ) : System
pathRein Autodesk selected path reinforcement element.
commandData ExternalCommandData External command data
Результат System