C# Class Vector.Math.Triangle

Afficher le fichier Open project: sinclairzx81/vector-cs

Méthodes publiques

Свойство Type Description
vert0 Vector3
vert1 Vector3
vert2 Vector3

Méthodes publiques

Méthode Description
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

Method Details

Intersect() public méthode

Test for the intersection of this plane with this Triangle.
public Intersect ( Plane plane ) : bool
plane Plane
Résultat bool

Intersect() public static méthode

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
Résultat bool

Intersect() public méthode

Tests for a intersection bewteen this Ray and this Triangle.
public Intersect ( Ray ray ) : bool
ray Ray
Résultat bool

Intersect() public static méthode

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
Résultat bool

Split() public static méthode

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
Résultat Vector.Math.Triangle[]

Triangle() public méthode

public Triangle ( Vector3 vert0, Vector3 vert1, Vector3 vert2 ) : System.Runtime.InteropServices
vert0 Vector3
vert1 Vector3
vert2 Vector3
Résultat System.Runtime.InteropServices

Property Details

vert0 public_oe property

public Vector3 vert0
Résultat Vector3

vert1 public_oe property

public Vector3 vert1
Résultat Vector3

vert2 public_oe property

public Vector3 vert2
Résultat Vector3