C# Класс Plane3D, UnityUtils

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetDistanceToPoint ( Vector3D, inPt ) : double
GetSide ( Vector3D, inPt ) : bool
Plane3D ( Vector3D, inNormal, Vector3D, inPoint ) : System
Plane3D ( Vector3D, inNormal, double d ) : System
Raycast ( RayD, ray, double &enter ) : bool
SameSide ( Vector3D, inPt0, Vector3D, inPt1 ) : bool
Set3Points ( Vector3D, a, Vector3D, b, Vector3D, c ) : void
SetNormalAndPosition ( Vector3D, inNormal, Vector3D, inPoint ) : void

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

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

public GetDistanceToPoint ( Vector3D, inPt ) : double
inPt Vector3D,
Результат double

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

public GetSide ( Vector3D, inPt ) : bool
inPt Vector3D,
Результат bool

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

public Plane3D ( Vector3D, inNormal, Vector3D, inPoint ) : System
inNormal Vector3D,
inPoint Vector3D,
Результат System

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

public Plane3D ( Vector3D, inNormal, double d ) : System
inNormal Vector3D,
d double
Результат System

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

public Raycast ( RayD, ray, double &enter ) : bool
ray RayD,
enter double
Результат bool

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

public SameSide ( Vector3D, inPt0, Vector3D, inPt1 ) : bool
inPt0 Vector3D,
inPt1 Vector3D,
Результат bool

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

public Set3Points ( Vector3D, a, Vector3D, b, Vector3D, c ) : void
a Vector3D,
b Vector3D,
c Vector3D,
Результат void

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

public SetNormalAndPosition ( Vector3D, inNormal, Vector3D, inPoint ) : void
inNormal Vector3D,
inPoint Vector3D,
Результат void