C# Class Nexus.Objects3D.Triangle3D

Afficher le fichier Open project: tgjones/nexus

Méthodes publiques

Свойство Type Description
A Point3D
B Point3D
C Point3D

Méthodes publiques

Méthode Description
Area2D ( float x1, float y1, float x2, float y2, float x3, float y3 ) : float
Barycentric ( Point3D p ) : Vector3D

Compute barycentric coordinates (u, v, w) for point p with respect to this triangle. Real Time Collision Detection, p47.

Triangle3D ( Point3D a, Point3D b, Point3D c )

Method Details

Area2D() public static méthode

public static Area2D ( float x1, float y1, float x2, float y2, float x3, float y3 ) : float
x1 float
y1 float
x2 float
y2 float
x3 float
y3 float
Résultat float

Barycentric() public méthode

Compute barycentric coordinates (u, v, w) for point p with respect to this triangle. Real Time Collision Detection, p47.
public Barycentric ( Point3D p ) : Vector3D
p Point3D
Résultat Vector3D

Triangle3D() public méthode

public Triangle3D ( Point3D a, Point3D b, Point3D c )
a Point3D
b Point3D
c Point3D

Property Details

A public_oe property

public Point3D A
Résultat Point3D

B public_oe property

public Point3D B
Résultat Point3D

C public_oe property

public Point3D C
Résultat Point3D