#include <RouteInitializationReport.h>
Definition at line 28 of file RouteInitializationReport.h.
◆ RouteInitializationReport() [1/2]
| agxCable::RouteInitializationReport::RouteInitializationReport |
( |
| ) |
|
Create a report with values indication that no initialization has happened yet, or that the initialization failed.
RouteInitializationReport::successful will return false for this initialization report.
◆ RouteInitializationReport() [2/2]
| agxCable::RouteInitializationReport::RouteInitializationReport |
( |
agx::Real |
targetError, |
|
|
agx::Real |
actualError, |
|
|
agx::Real |
resolution, |
|
|
size_t |
numNodes |
|
) |
| |
Create a report with the given contents.
◆ getActualError()
| agx::Real agxCable::RouteInitializationReport::getActualError |
( |
| ) |
const |
- Returns
- the maximum error after routing
◆ getLength()
| agx::Real agxCable::RouteInitializationReport::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.
◆ getNumSegments()
| size_t agxCable::RouteInitializationReport::getNumSegments |
( |
| ) |
const |
- Returns
- The number of segments in the initialized route.
◆ getResolution()
| agx::Real agxCable::RouteInitializationReport::getResolution |
( |
| ) |
const |
- Returns
- The resolution of the routed path.
◆ getTargetError()
| agx::Real agxCable::RouteInitializationReport::getTargetError |
( |
| ) |
const |
◆ restore()
◆ store()
◆ successful()
| agx::Bool agxCable::RouteInitializationReport::successful |
( |
| ) |
const |
- Returns
- true if actual error is less than or equal to the target error.
The documentation for this class was generated from the following file: