MURE
Loading...
Searching...
No Matches
Functions
Shape.cxx File Reference
#include <fstream>
#include <iostream>
#include <memory>
#include "MUREGlobal.hxx"
#include "Shape.hxx"
#include "MathNode.hxx"
#include "ConnectorPlugin.hxx"
#include "MCSource.hxx"
#include "MURE.hxx"

Functions

Shape_ptr operator& (Shape_ptr A, Shape_ptr B)
 
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().
 

Function Documentation

◆ operator!()

Shape_ptr operator! ( Shape_ptr  A)

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

◆ operator&()

Shape_ptr operator& ( Shape_ptr  A,
Shape_ptr  B 
)

Intersection of A and B. Syntax: A &B

◆ operator&=()

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

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

◆ operator>>()

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.
    //

◆ operator|()

Shape_ptr operator| ( Shape_ptr  A,
Shape_ptr  B 
)

Union of A and B. Syntax: A | B

◆ operator|=()

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

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


MURE Project, documentation generated by Doxygen 1.9.7 - Fri Jan 19 2024