Tetrapod Project
utils.Terrain Class Reference
Inheritance diagram for utils.Terrain:
Collaboration diagram for utils.Terrain:

Public Member Functions

def __init__ (self, bool_bridge=None)
 
def add_stone (self, center, width, height, name=None)
 
def add_stones (self, centers, widths, heights, name=None)
 
def get_stone_by_name (self, name)
 
def plot (self, title=None, **kwargs)
 
def write_to_sdf (self, fname='terrain_xml', with_height=True)
 

Public Attributes

 stepping_stones
 

Detailed Description

Definition at line 138 of file utils.py.

Constructor & Destructor Documentation

◆ __init__()

def utils.Terrain.__init__ (   self,
  bool_bridge = None 
)

Definition at line 143 of file utils.py.

Member Function Documentation

◆ add_stone()

def utils.Terrain.add_stone (   self,
  center,
  width,
  height,
  name = None 
)

Definition at line 190 of file utils.py.

◆ add_stones()

def utils.Terrain.add_stones (   self,
  centers,
  widths,
  heights,
  name = None 
)

Definition at line 196 of file utils.py.

◆ get_stone_by_name()

def utils.Terrain.get_stone_by_name (   self,
  name 
)

Definition at line 213 of file utils.py.

◆ plot()

def utils.Terrain.plot (   self,
  title = None,
**  kwargs 
)

Definition at line 225 of file utils.py.

◆ write_to_sdf()

def utils.Terrain.write_to_sdf (   self,
  fname = 'terrain_xml',
  with_height = True 
)

Definition at line 239 of file utils.py.

Member Data Documentation

◆ stepping_stones

utils.Terrain.stepping_stones

Definition at line 145 of file utils.py.


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