|
AGXDynamics
2.31.1.0
|
Class to control variable node density along wires through routed nodes. More...
#include <Node.h>
Public Member Functions | |
| HighResolutionRange () | |
| Default constructor. More... | |
| agx::Real | getEndDistance () const |
| agx::Real | getNodesPerUnitDistance () const |
| agx::Real | getStartDistance () const |
| bool | isActive () const |
| void | reverse () |
| Reverse range (distances). More... | |
| void | set (agx::Real startDistance, agx::Real endDistance, agx::Real nodesPerUnitDistance) |
| Function to activate the high resolution for a node in a wire. More... | |
| void | setEndDistance (agx::Real endDistance) |
| Assign new end distance. More... | |
| void | setNodesPerUnitDistance (agx::Real nodesPerUnitDistance) |
| Assign new resolution (number of nodes per unit distance). More... | |
| void | setStartDistance (agx::Real startDistance) |
| Assign new start distance. More... | |
Protected Attributes | |
| agx::Real | m_endDistance |
| agx::Real | m_nodesPerUnitDistance |
| agx::Real | m_startDistance |
Class to control variable node density along wires through routed nodes.
All nodes contain a high resolution range.
Definition at line 423 of file agxWire/Node.h.
| agxWire::HighResolutionRange::HighResolutionRange | ( | ) |
Default constructor.
Start distance: 0, end distance: 0, nodes per unit distance: invalid.
| agx::Real agxWire::HighResolutionRange::getEndDistance | ( | ) | const |
| agx::Real agxWire::HighResolutionRange::getNodesPerUnitDistance | ( | ) | const |
| agx::Real agxWire::HighResolutionRange::getStartDistance | ( | ) | const |
| bool agxWire::HighResolutionRange::isActive | ( | ) | const |
| void agxWire::HighResolutionRange::reverse | ( | ) |
Reverse range (distances).
| void agxWire::HighResolutionRange::set | ( | agx::Real | startDistance, |
| agx::Real | endDistance, | ||
| agx::Real | nodesPerUnitDistance | ||
| ) |
Function to activate the high resolution for a node in a wire.
The wire will use the highest local resolution when updating its resolution.
| startDistance | - defines a point at distance along the wire from the node where the local resolution starts. (could be +-) |
| endDistance | - defines a point at distance along the wire from the node where the local resolution ends. (could be +-) |
| nodesPerUnitDistance | - defines a local resolution within startDistance to endDistance |
Assign new end distance.
End distance defines a point at distance along the wire from the node where the local resolution ends. (could be +-)
| endDistance | - new end distance (valid < current end distance) |
Assign new resolution (number of nodes per unit distance).
Any real value larger than zero is valid. E.g., 0.5 (and unit meters) means one mass node every two meters.
Assign new start distance.
Start distance defines a point at distance along the wire from the node where the local resolution starts. (could be +-)
| startDistance | - new start distance (valid < current end distance) |
|
protected |
Definition at line 504 of file agxWire/Node.h.
|
protected |
Definition at line 505 of file agxWire/Node.h.
|
protected |
Definition at line 503 of file agxWire/Node.h.