OpenLexocad  27.0
GeometricInformation.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <Topo/topo_defines.h>
4 
5 
6 namespace Topo
7 {
9 {
10  GeometricInformation() = default;
12  {
13  ShapeVolume += gi.ShapeVolume;
14  ShapeSurfaceArea += gi.ShapeSurfaceArea;
15  ShapeEdgeLength += gi.ShapeEdgeLength;
16  ShapeVertexCount += gi.ShapeVertexCount;
17  return *this;
18  }
19 
20  double ShapeVolume = 0.;
21  double ShapeSurfaceArea = 0.;
22  double ShapeEdgeLength = 0.;
23  unsigned int ShapeVertexCount = 0;
24 };
25 
26 } // namespace Topo
double ShapeEdgeLength
Definition: GeometricInformation.h:22
unsigned int ShapeVertexCount
Definition: GeometricInformation.h:23
#define TOPO_EXPORT
Definition: topo_defines.h:8
Definition: GeometricInformation.h:8
Definition: Variant.h:70
GeometricInformation operator+=(GeometricInformation gi)
Definition: GeometricInformation.h:11
double ShapeSurfaceArea
Definition: GeometricInformation.h:21
double ShapeVolume
Definition: GeometricInformation.h:20