C# Class StdPaint.Triangle3f

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

Public Properties

Property Type Description
A Vector3
B Vector3
C Vector3

Public Methods

Method 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 method

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.
return double

Triangle3f() public method

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.
return System

Property Details

A public_oe property

The first vector.
public Vector3 A
return Vector3

B public_oe property

The second vector.
public Vector3 B
return Vector3

C public_oe property

The third vector.
public Vector3 C
return Vector3