momentumopt
momentumopt::TerrainRegion Class Reference

This class is a container for all variables required to define a terrain region. More...

#include <TerrainDescription.hpp>

Public Member Functions

int & terrainId ()
 
Eigen::Vector3d & pointOnTerrain ()
 
Eigen::Vector3d & normalToTerrain ()
 
Eigen::Matrix3d & terrainRotation ()
 
Eigen::VectorXd & terrainDescriptionVector ()
 
Eigen::Matrix< double, Eigen::Dynamic, 3 > & terrainDescriptionMatrix ()
 
const int & terrainId () const
 
const Eigen::Vector3d & pointOnTerrain () const
 
const Eigen::Vector3d & normalToTerrain () const
 
const Eigen::Matrix3d & terrainRotation () const
 
const Eigen::VectorXd & terrainDescriptionVector () const
 
const Eigen::Matrix< double, Eigen::Dynamic, 3 > & terrainDescriptionMatrix () const
 
const Eigen::Quaternion< double > terrainOrientation () const
 
std::string toString () const
 

Private Member Functions

void initialize (const Eigen::Matrix< double, Eigen::Dynamic, 3 > &ccwvertices, int terrain_id)
 

Private Attributes

int terrain_id_
 
Eigen::VectorXd b_
 
Eigen::Matrix3d rotation_
 
Eigen::Vector3d point_
 
Eigen::Vector3d normal_
 
Eigen::Matrix< double, Eigen::Dynamic, 3 > A_
 

Friends

class TerrainDescription
 
std::ostream & operator<< (std::ostream &os, const TerrainRegion &obj)
 

Detailed Description

This class is a container for all variables required to define a terrain region.

Member Function Documentation

int& momentumopt::TerrainRegion::terrainId ( )
inline

Getter and setter methods


The documentation for this class was generated from the following files: