#include <mc_rbdyn/CylindricalSurface.h>
|
std::vector< sva::PTransformd > & | points () |
|
◆ CylindricalSurface()
mc_rbdyn::CylindricalSurface::CylindricalSurface |
( |
const std::string & |
name, |
|
|
const std::string & |
bodyName, |
|
|
const sva::PTransformd & |
X_b_s, |
|
|
const std::string & |
materialName, |
|
|
const double & |
radius, |
|
|
const double & |
width |
|
) |
| |
◆ ~CylindricalSurface()
mc_rbdyn::CylindricalSurface::~CylindricalSurface |
( |
| ) |
|
|
override |
◆ computePoints()
void mc_rbdyn::CylindricalSurface::computePoints |
( |
| ) |
|
|
overridevirtual |
◆ copy()
std::shared_ptr<Surface> mc_rbdyn::CylindricalSurface::copy |
( |
| ) |
const |
|
overridevirtual |
◆ fromXML()
static std::unique_ptr<CylindricalSurface> mc_rbdyn::CylindricalSurface::fromXML |
( |
const tinyxml2::XMLElement & |
elem | ) |
|
|
static |
Construct a CylindricalSurface from an XML element.
Example XML:
<cylindrical_surface name="Cylinder" link="some_link" radius="0.05" width="0.2">
<origin rpy="0.0 0.0 0.0" xyz="0.0 0.0 0.0" />
<material name="plastic" />
</cylindrical_surface>
- Parameters
-
elem | The XML element describing the cylindrical surface. |
- Returns
- Unique pointer to the constructed CylindricalSurface.
◆ radius()
const double& mc_rbdyn::CylindricalSurface::radius |
( |
| ) |
const |
◆ toXML()
tinyxml2::XMLElement* mc_rbdyn::CylindricalSurface::toXML |
( |
tinyxml2::XMLDocument & |
doc | ) |
const |
|
overridevirtual |
◆ type()
std::string mc_rbdyn::CylindricalSurface::type |
( |
| ) |
const |
|
overridevirtual |
◆ width() [1/2]
const double& mc_rbdyn::CylindricalSurface::width |
( |
| ) |
const |
◆ width() [2/2]
void mc_rbdyn::CylindricalSurface::width |
( |
const double & |
width | ) |
|
The documentation for this struct was generated from the following file: