Computes a point from barycentric triangle coordinates alpha:beta:gamma.

Namespace:  ceometric.VectorGeometry
Assembly:  ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.8.0.0 (1.8.0.0)

Syntax

C#
public Point GetPointFromBarycentricCoordinates(
	double alpha,
	double beta,
	double gamma
)
Visual Basic (Declaration)
Public Function GetPointFromBarycentricCoordinates ( _
	alpha As Double, _
	beta As Double, _
	gamma As Double _
) As Point
Visual C++
public:
Point^ GetPointFromBarycentricCoordinates(
	double alpha, 
	double beta, 
	double gamma
)

Parameters

alpha
Type: System..::.Double
The first barycentric coordinate.
beta
Type: System..::.Double
The second barycentric coordinate.
gamma
Type: System..::.Double
The third barycentric coordinate.

Return Value

Returns a point computed from barycentric triangle coordinates alpha:beta:gamma.

Exceptions

ExceptionCondition
System..::.ArithmeticExceptionInvalid barycentric coordinates. The sum of the barycentric coordinates must not be zero.

See Also