MURE
|
Header file for Shape class and Shape_ptr type. More...
#include <iostream>
#include <fstream>
#include <vector>
#include <string>
#include <algorithm>
#include "TReference.hxx"
#include "MureConstant.hxx"
#include "SurfaceCard.hxx"
Go to the source code of this file.
Classes | |
class | Shape |
Abstract class to define geometrical shapes. More... | |
Typedefs | |
typedef Reference_ptr< Shape > | Shape_ptr |
Functions | |
Shape_ptr & | operator&= (Shape_ptr &A, Shape_ptr B) |
Shape_ptr & | operator|= (Shape_ptr &A, Shape_ptr B) |
Shape_ptr | operator! (Shape_ptr A) |
!A is an other way to obtain A->Not(). | |
Header file for Shape class and Shape_ptr type.
typedef Reference_ptr< Shape > Shape_ptr |
A Shape_ptr allows to have correct treatment of references to a Shape. This is needed in order to simplify Node trees without destroying a used Shape. Technically, it is a smart pointer on a Shape.