MURE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
Shape.cxx File Reference
#include "MureHeaders.hxx"
#include <cmath>
#include <fstream>

Functions

Shape_ptr operator& (Shape_ptr A, Shape_ptr B)
 Intersection of A and B. More...
 
Shape_ptroperator&= (Shape_ptr &A, Shape_ptr B)
 
Shape_ptroperator|= (Shape_ptr &A, Shape_ptr B)
 
Shape_ptr operator| (Shape_ptr A, Shape_ptr B)
 
Shape_ptroperator>> (Shape_ptr &B, Shape_ptr &A)
 
Shape_ptr operator! (Shape_ptr A)
 !A is an other way to obtain A->Not(). More...
 

Function Documentation

Shape_ptr operator! ( Shape_ptr  A)

!A is an other way to obtain A->Not().

Shape_ptr operator& ( Shape_ptr  A,
Shape_ptr  B 
)

Intersection of A and B.

Intersection of A and B. Syntax: A & B

Shape_ptr& operator&= ( Shape_ptr A,
Shape_ptr  B 
)

Intersection of A and B. Syntax: A &= B

Shape_ptr& operator>> ( Shape_ptr B,
Shape_ptr A 
)

Put the Shape(_ptr) B in A.

 //@ Syntax:  B>>A. 
 //@ Returns A to allow C>>B>>A;
 //@ Note:
 //@   The Translate/Rotate function will be applied on Inside Shape:
 //@   A->Translate(1,1,1);  will translate A, B and C.  
 //@
 //@   When doing C>>B>>A, IsnsideShape of A is C and B; idem for Original InsideShape
 //@  (fInsideShape[0]=C, fInsideShape[1]=B). 
 //@  if then A>>D; Original IsnsideShape of A are C and B, IsnsideShape of A have been cleared
 //@  and IsnsideShape of D are C, B and A.
 //
Shape_ptr operator| ( Shape_ptr  A,
Shape_ptr  B 
)

Union of A and B. Syntax: A | B

Shape_ptr& operator|= ( Shape_ptr A,
Shape_ptr  B 
)

Union of A and B. Syntax: A |= B


MURE Project, documentation generated by Doxygen 1.8.5 - Mon Nov 17 2014