C# Класс Glare.Plane3f

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

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

Свойство Тип Описание
Distance System.Single
Normal Vector3f

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

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

Get the intersection point between the three planes.

Intersect ( Plane3f &b, Plane3f &c, Vector3f &result ) : void

Get the intersection point between the three planes.

NormalizeInPlace ( ) : void

Normalize the Plane3f in place.

Plane3f ( System.Single normalX, System.Single normalY, System.Single normalZ, System.Single distance ) : System

Initialise the Plane3f.

Plane3f ( Vector3f normal, System.Single distance ) : System

Initialise the Plane3f.

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

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

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

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

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

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

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

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

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

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

Initialise the Plane3f.
public Plane3f ( Vector3f normal, System.Single distance ) : System
normal Vector3f
distance System.Single
Результат System

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

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

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

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

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