JointOptions Class
- control parameters for joint construction.
- Decision order is:
Methods
Name |
Description |
|
constructor(leftOffsetDistance: number, minArcDegrees: number = 180, maxChamferDegrees: number = 90): JointOptions |
Construct JointOptions. |
|
needArc(theta: Angle): boolean |
return true if the options indicate this amount of turn should be handled with an arc. |
|
numChamferPoints(theta: Angle): number |
Test if turn by theta should be output as single point. |
|
create(leftOffsetDistanceOrOptions: number | JointOptions): JointOptions Static |
Parse a number of JointOptions up to JointOptions: |
|
Properties
Name |
Type |
Description |
|
leftOffsetDistance |
number |
|
|
maxChamferTurnDegrees |
number |
|
|
minArcDegrees |
number |
smallest arc to construct. |
|
Defined in
Last Updated:
05 June, 2020