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