Calc.GetBarycentricWeights Method
Computes the barycentric weights of a point to the triangle A-B-C and put it in the
weights u-v-w. If the triangle is degenerate, this function returns false and u,v,w is set to 1/3 (centroid).
otherwise true is returned.
This language is not supported or no code example is available.
This language is not supported or no code example is available.
This language is not supported or no code example is available.
This language is not supported or no code example is available.
Parameters
-
pt
-
Point2d
-
A
-
Point2d
-
B
-
Point2d
-
C
-
Point2d
-
u
-
double
-
v
-
double
-
w
-
double
Return Value
bool
.NET Framework
Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8