Methods
compute(info) → {Object}
Computes the operation
Parameters:
Name | Type | Description |
---|---|---|
info |
CreateInfo | The creation info |
- Source:
Returns:
An object with a type dependent on the specified operation
- Type
- Object
(static) fromIsRightHanded(system) → {CreateInfo}
Computes, whether the given coordinte system is left or right-handed.
The resulting type is TYPE_BOOLEAN
Parameters:
Name | Type | Description |
---|---|---|
system |
Number | Object | Either the index or value of a TYPE_COORD_SYSTEM. The system |
- Source:
Returns:
The creation info
- Type
- CreateInfo
(static) fromPointOrVec(v, systemopt) → {CreateInfo}
Computes the world coordinates of a point defined in the given coordinate system
The resulting type is the same as the one of v
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
v |
Number | Object | Either the index or value of TYPE_POINT or TYPE_VECTOR. The input point or vector | |
system |
Number | Object |
<optional> |
Either the index or value of a TYPE_COORD_SYSTEM. The system in which the point or vector is defined in |
- Source:
Returns:
The creation info
- Type
- CreateInfo
(static) fromToCoordinates(v, systemopt) → {CreateInfo}
Computes the local coordinates in the given coordinate system of a point defined in world space
The resulting type is the same as the one of v.
For vectors, the reference is transformed as well
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
v |
Number | Object | Either the index or value of TYPE_POINT or TYPE_VECTOR. The input point or vector | |
system |
Number | Object |
<optional> |
Either the index or value of a TYPE_COORD_SYSTEM. The system |
- Source:
Returns:
The creation info
- Type
- CreateInfo