Enki  1.9
Public Member Functions | List of all members
Enki::PhysicalObject::Hull Struct Reference

A hull is a vector of Hull. More...

#include <PhysicalEngine.h>

Inheritance diagram for Enki::PhysicalObject::Hull:

Public Member Functions

 Hull ()
 Construct an empty hull.
 
 Hull (const Part &part)
 Construct a hull with a single part.
 
Polygone getConvexHull () const
 Return the convex hull of this hull, using a simple Jarvis march/gift wrapping algorithm.
 
Hull operator+ (const Hull &that) const
 Add this hull to another one.
 
Hulloperator+= (const Hull &that)
 Add this hull to another one.
 
void applyTransformation (const Matrix22 &rot, const Point &trans, double *radius=0)
 Compute the shape of this hull wrt a particular rotation and translation, update the radius if provided.
 

Detailed Description

A hull is a vector of Hull.


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