C# Класс Glare.Plane3d

A Vector3d normal with a Double distance from origin.
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
Distance Double
Normal Vector3d

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

Метод Описание
Intersect ( Plane3d b, Plane3d c ) : Vector3d

Get the intersection point between the three planes.

Intersect ( Plane3d &b, Plane3d &c, Vector3d &result ) : void

Get the intersection point between the three planes.

NormalizeInPlace ( ) : void

Normalize the Plane3d in place.

Plane3d ( Double normalX, Double normalY, Double normalZ, Double distance ) : System

Initialise the Plane3d.

Plane3d ( Vector3d normal, Double distance ) : System

Initialise the Plane3d.

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

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

Get the intersection point between the three planes.
public Intersect ( Plane3d b, Plane3d c ) : Vector3d
b Plane3d
c Plane3d
Результат Vector3d

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

Get the intersection point between the three planes.
public Intersect ( Plane3d &b, Plane3d &c, Vector3d &result ) : void
b Plane3d
c Plane3d
result Vector3d
Результат void

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

Normalize the Plane3d in place.
public NormalizeInPlace ( ) : void
Результат void

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

Initialise the Plane3d.
public Plane3d ( Double normalX, Double normalY, Double normalZ, Double distance ) : System
normalX Double
normalY Double
normalZ Double
distance Double
Результат System

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

Initialise the Plane3d.
public Plane3d ( Vector3d normal, Double distance ) : System
normal Vector3d
distance Double
Результат System

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

Distance публичное свойство

Get or set the distance from origin.
public Double Distance
Результат Double

Normal публичное свойство

Get or set the direction of the Plane3d.
public Vector3d Normal
Результат Vector3d