C# Class RevitLookup.GeomUtils

Summary description for GeomUtils.
Afficher le fichier Open project: jeremytammik/RevitLookup

Méthodes publiques

Свойство Type Description
kOrigin XYZ
kXAxis XYZ
kYAxis XYZ
kZAxis XYZ

Méthodes publiques

Méthode Description
DegreesToRadians ( double degrees ) : double
GeomUtils ( ) : System
GetClosestPt ( XYZ pt, System pts ) : XYZ

given an array of pts, find the closest pt to a given pt

Greater ( XYZ pt1, XYZ pt2, XYZ axis ) : XYZ

Given two points and an axis, returns the point with the greater value along the axis

Midpoint ( XYZ pt1, XYZ pt2 ) : XYZ
RadiansToDegrees ( double rads ) : double

Method Details

DegreesToRadians() public static méthode

public static DegreesToRadians ( double degrees ) : double
degrees double
Résultat double

GeomUtils() public méthode

public GeomUtils ( ) : System
Résultat System

GetClosestPt() public static méthode

given an array of pts, find the closest pt to a given pt
public static GetClosestPt ( XYZ pt, System pts ) : XYZ
pt XYZ
pts System
Résultat XYZ

Greater() public static méthode

Given two points and an axis, returns the point with the greater value along the axis
public static Greater ( XYZ pt1, XYZ pt2, XYZ axis ) : XYZ
pt1 XYZ point 1 to compare
pt2 XYZ point 2 to compare
axis XYZ axis to compare along
Résultat XYZ

Midpoint() public static méthode

public static Midpoint ( XYZ pt1, XYZ pt2 ) : XYZ
pt1 XYZ
pt2 XYZ
Résultat XYZ

RadiansToDegrees() public static méthode

public static RadiansToDegrees ( double rads ) : double
rads double
Résultat double

Property Details

kOrigin public_oe static_oe property

public static XYZ kOrigin
Résultat XYZ

kXAxis public_oe static_oe property

public static XYZ kXAxis
Résultat XYZ

kYAxis public_oe static_oe property

public static XYZ kYAxis
Résultat XYZ

kZAxis public_oe static_oe property

public static XYZ kZAxis
Résultat XYZ