Computes a point from barycentric triangle coordinates alpha:beta:gamma.
Namespace:
ceometric.VectorGeometryAssembly: ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.6.0.0 (1.6.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
| Exception | Condition |
|---|---|
| System..::.ArithmeticException | Invalid barycentric coordinates. The sum of the barycentric coordinates must not be zero. |