C# Класс RevitLookup.GeomUtils

Summary description for GeomUtils.
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
kOrigin XYZ
kXAxis XYZ
kYAxis XYZ
kZAxis XYZ

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

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

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

DegreesToRadians() публичный статический Метод

public static DegreesToRadians ( double degrees ) : double
degrees double
Результат double

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

public GeomUtils ( ) : System
Результат System

GetClosestPt() публичный статический Метод

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

Greater() публичный статический Метод

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

Midpoint() публичный статический Метод

public static Midpoint ( XYZ pt1, XYZ pt2 ) : XYZ
pt1 XYZ
pt2 XYZ
Результат XYZ

RadiansToDegrees() публичный статический Метод

public static RadiansToDegrees ( double rads ) : double
rads double
Результат double

Описание свойств

kOrigin публичное статическое свойство

public static XYZ kOrigin
Результат XYZ

kXAxis публичное статическое свойство

public static XYZ kXAxis
Результат XYZ

kYAxis публичное статическое свойство

public static XYZ kYAxis
Результат XYZ

kZAxis публичное статическое свойство

public static XYZ kZAxis
Результат XYZ