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: number = 0, 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 168
Last Updated: 30 November, 2023