Constructor
new DefPolarCoord(params)
Default values
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object |
Properties
|
- Source:
Methods
compute(createInfo) → {Object}
Compute the polar coordinates
Parameters:
Name | Type | Description |
---|---|---|
createInfo |
CreateInfo | The creation info |
- Source:
Returns:
A polar coordinate of type TYPE_POLAR
- Type
- Object
(static) fromPointOrVector(p) → {CreateInfo}
Creates polar coordinates of a point
Parameters:
Name | Type | Description |
---|---|---|
p |
Number | Object | Either the index or value of a TYPE_POINT. The point |
- Source:
Returns:
The creation info
- Type
- CreateInfo
(static) fromValues(params) → {CreateInfo}
Creates an angle from three points. The angle is measured around the middle one.
The reference point is placed at the middle point
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object |
Properties
|
- Source:
Returns:
The creation info
- Type
- CreateInfo