1 #ifndef EXPR_EmptyNode_H
2 #define EXPR_EmptyNode_H
4 #include "EXPR_ElementaryGeometryNode.h"
8 #include "core_numeric.h"
73 virtual CORE_UniquePointer<EXPR_ElementaryGeometryNode>
newInstance()
const {
79 static inline CORE_UniquePointer<EXPR_EmptyNode>
New() {
89 virtual void setArguments(
const std::vector<tString>& args)
override {
107 std::array<tReal,3>& maxPoint)
const override {
108 for (
auto& Pk:minPoint) Pk=core_numeric::getInfinity<tReal>();
109 for (
auto& Pk:maxPoint) Pk=core_numeric::getInfinity<tReal>();
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:113
This class describes an elementary geometry.
Definition: EXPR_ElementaryGeometryNode.h:20
void setName(const tString &name)
set name
Definition: EXPR_ElementaryGeometryNode.h:89
virtual tMemSize getContentsMemorySize() const override
return nthe memory size of the included associations
Definition: EXPR_ElementaryGeometryNode.h:71
This class describes an empty node.
Definition: EXPR_EmptyNode.h:17
virtual tMemSize getContentsMemorySize() const override
return nthe memory size of the included associations
Definition: EXPR_EmptyNode.h:64
virtual ~EXPR_EmptyNode()
delete the class
Definition: EXPR_EmptyNode.h:39
virtual void computeCanonicalBoundingBox(std::array< tReal, 3 > &minPoint, std::array< tReal, 3 > &maxPoint) const override
compute the bounding box of the node
Definition: EXPR_EmptyNode.h:106
virtual tBoolean isInsideCanonicalGeometry(const std::array< tReal, 3 > &p) const override
return true if the point is in the node
Definition: EXPR_EmptyNode.h:96
virtual tMemSize getMemorySize() const override
return the memory size of the class
Definition: EXPR_EmptyNode.h:52
virtual void setArguments(const std::vector< tString > &args) override
set the argument to define the geometry
Definition: EXPR_EmptyNode.h:89
static CORE_UniquePointer< EXPR_EmptyNode > New()
crete the new instance of this
Definition: EXPR_EmptyNode.h:79
virtual void adimensionize(const tReal &L) override
adimensionize the primary geometry
Definition: EXPR_EmptyNode.h:115
virtual CORE_UniquePointer< EXPR_ElementaryGeometryNode > newInstance() const
create a new instance of this
Definition: EXPR_EmptyNode.h:73
EXPR_EmptyNode()
create the class
Definition: EXPR_EmptyNode.h:32
virtual tString toString() const override
return the string representation of this
Definition: EXPR_EmptyNode.h:121