Свойство | Type | Description | |
---|---|---|---|
A | Point3D | ||
B | Point3D | ||
C | Point3D |
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 ) |
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 |
public Barycentric ( Point3D p ) : Vector3D | ||
p | Point3D | |
Résultat | Vector3D |
public Triangle3D ( Point3D a, Point3D b, Point3D c ) | ||
a | Point3D | |
b | Point3D | |
c | Point3D |