createRectangleXY MethodStatic
Create a Loop
with given xy corners and fixed z.
- The corners always proceed counter clockwise from lower left.
- If the radius is too large for the outer rectangle size, it is reduced to half of the the smaller x or y size.
createRectangleXY(x0: number, y0: number, x1: number, y1: number, z: number0, filletRadius?: number): Loop
Parameter | Type | Description |
---|---|---|
x0 | number | |
y0 | number | |
x1 | number | |
y1 | number | |
z | number | |
filletRadius | number |
Returns - Loop
Defined in
- curve/CurveFactory.ts Line 203
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.