Initialization report kept in Deformable1D object for the user to check validity of the initial state.
More...
#include <Deformable1DRoute.h>
Initialization report kept in Deformable1D object for the user to check validity of the initial state.
Definition at line 32 of file Deformable1DRoute.h.
◆ Deformable1DInitializationReport() [1/2]
| agxModel::Deformable1DInitializationReport::Deformable1DInitializationReport |
( |
| ) |
|
◆ Deformable1DInitializationReport() [2/2]
| agxModel::Deformable1DInitializationReport::Deformable1DInitializationReport |
( |
agx::Real |
targetError, |
|
|
agx::Real |
maxError, |
|
|
agx::Real |
resolution, |
|
|
size_t |
numNodes |
|
) |
| |
Construct given target (minimum) error and the actual (maximum) error from route.
◆ getLength()
| agx::Real agxModel::Deformable1DInitializationReport::getLength |
( |
| ) |
const |
- Returns
- The total length of the created segments. May be different from the total distances between the routing node positions due to divisibility.
◆ getMaximumError()
| agx::Real agxModel::Deformable1DInitializationReport::getMaximumError |
( |
| ) |
const |
- Returns
- the maximum error after routing
◆ getNumNodes()
| size_t agxModel::Deformable1DInitializationReport::getNumNodes |
( |
| ) |
const |
- Returns
- The number of nodes in the initialized route. This is equal to the number of segments.
◆ getResolution()
| agx::Real agxModel::Deformable1DInitializationReport::getResolution |
( |
| ) |
const |
- Returns
- The resolution of the routed path.
◆ getTargetError()
| agx::Real agxModel::Deformable1DInitializationReport::getTargetError |
( |
| ) |
const |
◆ restore()
Restore from input archive.
◆ store()
◆ successful()
| agx::Bool agxModel::Deformable1DInitializationReport::successful |
( |
| ) |
const |
- Returns
- true if maximum error is less than or equal to the target error
The documentation for this class was generated from the following file: