Methods
compute(createInfo) → {Object|Array}
Compute the intersection points
Parameters:
Name | Type | Description |
---|---|---|
createInfo |
CreateInfo | The creation info |
- Source:
Returns:
The intersection points. Some intersectors return a single point and others an array, if multiple intersections can exists.
Points are of type TYPE_POINT
- Type
- Object | Array
(static) fromObjects(obj0, obj1, params) → {CreateInfo}
Compute the intersection points of two objects
Parameters:
Name | Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
obj0 |
Number | Object | Either the index or value of an object | ||||||||
obj1 |
Number | Object | Either the index or value of an object | ||||||||
params |
Object |
Properties
|
- Source:
Returns:
The creation info
- Type
- CreateInfo