createXYZXYZXYZ MethodStatic
Create a BarycentricTriangle
with coordinates given by enumerated x,y,z of the 3 points.
createXYZXYZXYZ(x0: number, y0: number, z0: number, x1: number, y1: number, z1: number, x2: number, y2: number, z2: number, result?: BarycentricTriangle): BarycentricTriangle
Parameter | Type | Description |
---|---|---|
x0 | number | |
y0 | number | |
z0 | number | |
x1 | number | |
y1 | number | |
z1 | number | |
x2 | number | |
y2 | number | |
z2 | number | |
result | BarycentricTriangle | optional pre-allocated triangle. |
Returns - BarycentricTriangle
Defined in
- geometry3d/BarycentricTriangle.ts Line 184
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.