createXYZXYZXYZ MethodStatic
Return 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 141
Last Updated: 20 June, 2023