Constructor
new DefParallelLine(params, distance)
Default values
Parameters:
Name | Type | Description |
---|---|---|
params |
Object | |
distance |
Number | The distance the parallel line should be displaced by |
- Source:
Methods
compute(createInfo) → {Object}
Computes the parallel line
Parameters:
Name | Type | Description |
---|---|---|
createInfo |
CreateInfo | The creation info |
- Source:
Returns:
Parallel line of TYPE_LINE
- Type
- Object
(static) fromVectorsOrLine(params) → {CreateInfo}
Creates a new parallel line from a vector or a line.
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object |
Properties
|
- Source:
Returns:
The creation info
- Type
- CreateInfo
(static) fromVectorsOrLineRef(params) → {CreateInfo}
Creates a new parallel line from a vector or a line.
The line will use the first point of a line or the vector reference as a point through which it goes
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object |
Properties
|
- Source:
Returns:
The creation info
- Type
- CreateInfo