GeoModel - GeoModelCore
Public Member Functions | Private Member Functions | List of all members
GeoShape Class Referenceabstract

This class describes a Shape. Shapes will be able to do the following things: More...

#include <GeoShape.h>

Inheritance diagram for GeoShape:
RCBase GeoBox GeoCons GeoEllipticalTube GeoGenericTrap GeoPara GeoPcon GeoPgon GeoShapeIntersection GeoShapeShift GeoShapeSubtraction GeoShapeUnion GeoSimplePolygonBrep GeoTessellatedSolid GeoTorus GeoTrap GeoTrd GeoTube GeoTubs GeoUnidentifiedShape

Public Member Functions

virtual double volume () const =0
 
const GeoShapeUnion & add (const GeoShape &shape) const
 
const GeoShapeSubtraction & subtract (const GeoShape &shape) const
 
const GeoShapeIntersection & intersect (const GeoShape &shape) const
 
const GeoShapeShift & operator<< (const GeoTrf::Transform3D &shift) const
 
virtual const std::string & type () const =0
 
virtual ShapeType typeID () const =0
 
virtual void exec (GeoShapeAction *action) const =0
 
- Public Member Functions inherited from RCBase
void ref () const
 
void unref () const
 
unsigned int refCount () const
 

Private Member Functions

 GeoShape (const GeoShape &right)
 
GeoShape & operator= (const GeoShape &right)
 

Detailed Description

This class describes a Shape. Shapes will be able to do the following things:

Also noteworthy: Shapes are allocated on the heap and deleted automatically when their reference count falls to zero.

Definition at line 38 of file GeoShape.h.


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