C# Class Revit.SDK.Samples.Openings.CS.Line3D

Line class use to store information about line(include startPoint and endPoint) and get the value via (startPoint, endPoint)property
Datei anzeigen Open project: AMEE/revit Class Usage Examples

Public Methods

Method Description
Line3D ( ) : System

The default constructor

Line3D ( Vector startPnt, Vector endPnt ) : System

The default constructor

Private Methods

Method Description
CalculateDirection ( ) : void

calculate Direction by StartPoint and EndPoint

CalculateEndPoint ( ) : void

calculate EndPoint by StartPoint, Length and Direction

CalculateLength ( ) : void

calculate length by StartPoint and EndPoint

Method Details

Line3D() public method

The default constructor
public Line3D ( ) : System
return System

Line3D() public method

The default constructor
public Line3D ( Vector startPnt, Vector endPnt ) : System
startPnt Vector start point of line
endPnt Vector enn point of line
return System