QEFData
A data container for the QEF solver.
Constructor Summary
| Public Constructor | ||
| public |
Constructs a new QEF data container. |
|
Member Summary
| Public Members | ||
| public |
The amount of accumulated surface intersection points. |
|
Method Summary
| Public Methods | ||
| public |
add(p: Vector3, n: Vector3) Adds the given surface intersection point and normal. |
|
| public |
Adds an entire data set. |
|
| public |
clear() Clears this data. |
|
| public |
Clones this data. |
|
| public |
Copies values from a given data instance. |
|
| public |
set(ata: SymmetricMatrix3, atb: Vector3, massPointSum: Vector3, numPoints: Vector3): QEFData Sets the values of this data instance. |
|
Public Constructors
Public Members
Public Methods
public add(p: Vector3, n: Vector3) source
Adds the given surface intersection point and normal.
Params:
| Name | Type | Attribute | Description |
| p | Vector3 | An intersection point. |
|
| n | Vector3 | A surface intersection normal. |
public addData(d: QEFData) source
Adds an entire data set.
Params:
| Name | Type | Attribute | Description |
| d | QEFData | QEF data. |
public copy(d: QEFData): QEFData source
Copies values from a given data instance.
Params:
| Name | Type | Attribute | Description |
| d | QEFData | The data to copy. |
public set(ata: SymmetricMatrix3, atb: Vector3, massPointSum: Vector3, numPoints: Vector3): QEFData source
Sets the values of this data instance.
Params:
| Name | Type | Attribute | Description |
| ata | SymmetricMatrix3 | ATA. |
|
| atb | Vector3 | ATb. |
|
| massPointSum | Vector3 | The accumulated mass points. |
|
| numPoints | Vector3 | The number of mass points. |
