Source code for geometry.geometry_base
[docs]class GeometryBase:
"""The base class for the bodyless geometies."""
[docs] def get_position():
"""Returns position as a 3 part tuple:(x,y,z)."""
[docs] def getMesh():
"""returns a structure of [points,triangle] consistent to the rest of the engine"""
[docs] def getBody():
"""returns the body this geometry is attachet to, if any"""