createRectangleXY MethodStatic
Create the linestring for a rectangle parallel to the xy plane.
- The z coordinate from
point0is used for all points. axandayare signed.- The point sequence is:
- Start at
point0 - move by (signed !)
axin the x direction. - move by (signed !)
ayin the y direction. - move by (signed !) negative
axin the x direction. - move by (signed !) negative
ayin the y direction. - (this returns to
point0)
- Start at
createRectangleXY(point0: Point3d, ax: number, ay: number, closed: boolean = true): LineString3d
| Parameter | Type | Description |
|---|---|---|
| point0 | Point3d | |
| ax | number | |
| ay | number | |
| closed | boolean |
Defined in
Last Updated: 08 January, 2020