C# Класс Vector.Math.Triangle

Показать файл Открыть проект

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

Свойство Тип Описание
vert0 Vector3
vert1 Vector3
vert2 Vector3

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

Метод Описание
Intersect ( Plane plane ) : bool

Test for the intersection of this plane with this Triangle.

Intersect ( Plane plane, Vector3 vert0, Vector3 vert1, Vector3 vert2 ) : bool

Test for the intersection of this plane with this Triangle.

Intersect ( Ray ray ) : bool

Tests for a intersection bewteen this Ray and this Triangle.

Intersect ( Ray ray, Vector3 vert0, Vector3 vert1, Vector3 vert2, float &t ) : bool

Tests for a intersection between this Ray and this Triangle.

Split ( Plane plane, Vector3 vert0, Vector3 vert1, Vector3 vert2 ) : Vector.Math.Triangle[]

Splits a triangle by a plane. If no split is possible, then return original triangle.

Triangle ( Vector3 vert0, Vector3 vert1, Vector3 vert2 ) : System.Runtime.InteropServices

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

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

Test for the intersection of this plane with this Triangle.
public Intersect ( Plane plane ) : bool
plane Plane
Результат bool

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

Test for the intersection of this plane with this Triangle.
public static Intersect ( Plane plane, Vector3 vert0, Vector3 vert1, Vector3 vert2 ) : bool
plane Plane
vert0 Vector3
vert1 Vector3
vert2 Vector3
Результат bool

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

Tests for a intersection bewteen this Ray and this Triangle.
public Intersect ( Ray ray ) : bool
ray Ray
Результат bool

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

Tests for a intersection between this Ray and this Triangle.
public static Intersect ( Ray ray, Vector3 vert0, Vector3 vert1, Vector3 vert2, float &t ) : bool
ray Ray
vert0 Vector3
vert1 Vector3
vert2 Vector3
t float
Результат bool

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

Splits a triangle by a plane. If no split is possible, then return original triangle.
public static Split ( Plane plane, Vector3 vert0, Vector3 vert1, Vector3 vert2 ) : Vector.Math.Triangle[]
plane Plane
vert0 Vector3
vert1 Vector3
vert2 Vector3
Результат Vector.Math.Triangle[]

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

public Triangle ( Vector3 vert0, Vector3 vert1, Vector3 vert2 ) : System.Runtime.InteropServices
vert0 Vector3
vert1 Vector3
vert2 Vector3
Результат System.Runtime.InteropServices

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

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

public Vector3 vert0
Результат Vector3

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

public Vector3 vert1
Результат Vector3

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

public Vector3 vert2
Результат Vector3