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

Point class use to store point coordinate value and get the value via (x, y ,z)property
Afficher le fichier Open project: AMEE/revit Class Usage Examples

Méthodes publiques

Méthode Description
Equals ( object obj ) : bool

estimate whether two are equal

GetAngleOf2Vectors ( Vector lhs, Vector rhs, bool acuteAngleDesired ) : double

get angle of two vector

GetHashCode ( ) : int

Get HashCode

GetLength ( ) : double

Get Length of vector

GetNormal ( ) : Vector

get Normal by vector

Vector ( Vector rhs ) : System

copy constructor

Vector ( double x, double y, double z ) : System

constructor

operator ( ) : Vector

get normal vector of two vector

operator ( ) : bool

estimate whether two are unequal

operator ( ) : double

get cross vector of two vector

this ( int index ) : double

Property to get x, y, z coordinate bu index 1, 2, 3

Private Methods

Méthode Description
IsEqual ( Vector lhs, Vector rhs ) : bool

estimate whether two vector are equal

Method Details

Equals() public méthode

estimate whether two are equal
public Equals ( object obj ) : bool
obj object object which compare with
Résultat bool

GetAngleOf2Vectors() public static méthode

get angle of two vector
public static GetAngleOf2Vectors ( Vector lhs, Vector rhs, bool acuteAngleDesired ) : double
lhs Vector first vector
rhs Vector second vector
acuteAngleDesired bool
Résultat double

GetHashCode() public méthode

Get HashCode
public GetHashCode ( ) : int
Résultat int

GetLength() public méthode

Get Length of vector
public GetLength ( ) : double
Résultat double

GetNormal() public méthode

get Normal by vector
public GetNormal ( ) : Vector
Résultat Vector

Vector() public méthode

copy constructor
public Vector ( Vector rhs ) : System
rhs Vector
Résultat System

Vector() public méthode

constructor
public Vector ( double x, double y, double z ) : System
x double x coordinate of point
y double y coordinate of point
z double z coordinate of point
Résultat System

operator() public static méthode

get normal vector of two vector
public static operator ( ) : Vector
Résultat Vector

operator() public static méthode

estimate whether two are unequal
public static operator ( ) : bool
Résultat bool

operator() public static méthode

get cross vector of two vector
public static operator ( ) : double
Résultat double

this() public méthode

Property to get x, y, z coordinate bu index 1, 2, 3
public this ( int index ) : double
index int
Résultat double