1 #ifndef EXPR_IntersectionOperator_H
2 #define EXPR_IntersectionOperator_H
5 #include "EXPR_OperatorNode.h"
45 virtual CORE_SharedPointer<EXPR_OperatorNode>
newInstance()
const {
54 static inline CORE_UniquePointer<EXPR_IntersectionOperator>
New() {
91 virtual tBoolean
isInside(std::array<tReal,3> p)
const override ;
103 virtual tString
toString()
const override;
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:113
This class is the union operator.
Definition: EXPR_IntersectionOperator.h:15
virtual void computeBoundingBox(std::map< tString, tBoolean > &alreadyComputed) override
compute the bounding box of the node
Definition: EXPR_IntersectionOperator.cpp:26
virtual CORE_SharedPointer< EXPR_OperatorNode > newInstance() const
creat a new instance of the operator
Definition: EXPR_IntersectionOperator.h:45
EXPR_IntersectionOperator()
create the class
Definition: EXPR_IntersectionOperator.h:29
virtual ~EXPR_IntersectionOperator()
delete the class
Definition: EXPR_IntersectionOperator.h:36
virtual tBoolean isInside(std::array< tReal, 3 > p) const override
return true if the point is in the node
Definition: EXPR_IntersectionOperator.cpp:5
virtual tMemSize getContentsMemorySize() const override
return nthe memory size of the included associations
Definition: EXPR_IntersectionOperator.h:81
virtual tString toString() const override
return the string representation of this
Definition: EXPR_IntersectionOperator.cpp:114
static CORE_UniquePointer< EXPR_IntersectionOperator > New()
crete the new instance of this
Definition: EXPR_IntersectionOperator.h:54
virtual tMemSize getMemorySize() const override
return the memory size of the class
Definition: EXPR_IntersectionOperator.h:69
This class describes an operator.
Definition: EXPR_OperatorNode.h:14
void setName(const tChar &c)
set the name of the operator
Definition: EXPR_OperatorNode.h:79
virtual tMemSize getContentsMemorySize() const override
return nthe memory size of the included associations
Definition: EXPR_OperatorNode.h:70