C# Class StdPaint.Triangle3f

Represents a set of three three-dimensional floating-point vectors.
Afficher le fichier Open project: TheBerkin/StdPaint Class Usage Examples

Méthodes publiques

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

Méthodes publiques

Méthode Description
GetArea ( Vector3 a, Vector3 b, Vector3 c ) : double

Returns the area of the triangle made from the specified vectors.

Triangle3f ( Vector3 a, Vector3 b, Vector3 c ) : System

Initializes a new instance of the StdPaint.Trangle3f structure with the specified vectors.

Method Details

GetArea() public static méthode

Returns the area of the triangle made from the specified vectors.
public static GetArea ( Vector3 a, Vector3 b, Vector3 c ) : double
a Vector3 The first point.
b Vector3 The second point.
c Vector3 The third point.
Résultat double

Triangle3f() public méthode

Initializes a new instance of the StdPaint.Trangle3f structure with the specified vectors.
public Triangle3f ( Vector3 a, Vector3 b, Vector3 c ) : System
a Vector3 The first vector.
b Vector3 The second vector.
c Vector3 The third vector.
Résultat System

Property Details

A public_oe property

The first vector.
public Vector3 A
Résultat Vector3

B public_oe property

The second vector.
public Vector3 B
Résultat Vector3

C public_oe property

The third vector.
public Vector3 C
Résultat Vector3