Constructor
new DefLine3(paramsopt)
Default values
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object |
<optional> |
Properties
|
- Source:
Methods
compute(info) → {Object}
Computes the line
Parameters:
Name | Type | Description |
---|---|---|
info |
CreateInfo | The creation info |
- Source:
Returns:
An object of type TYPE_LINE3
- Type
- Object
(static) fromPoints(params) → {CreateInfo}
Computes the line through two points
If any value is EMPTY, the default values are used
Parameters:
Name | Type | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object |
Properties
|
- Source:
Returns:
The creation info
- Type
- CreateInfo
(static) fromVector(params) → {CreateInfo}
Computes the line defined by a vector.
If any value is EMPTY, the default values are used.
If no reference is given, the vector's reference point is used
Parameters:
Name | Type | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object |
Properties
|
- Source:
Returns:
The creation info
- Type
- CreateInfo