OpenLexocad
28.0
GeometricInformation.h
Go to the documentation of this file.
1
#pragma once
2
3
4
namespace
Topo
5
{
6
struct
GeometricInformation
7
{
8
GeometricInformation
() =
default
;
9
GeometricInformation
operator+=
(
GeometricInformation
gi)
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
Topo::GeometricInformation::GeometricInformation
GeometricInformation()=default
Topo::GeometricInformation::operator+=
GeometricInformation operator+=(GeometricInformation gi)
Definition:
GeometricInformation.h:9
Topo::GeometricInformation
Definition:
GeometricInformation.h:7
Topo::GeometricInformation::ShapeEdgeLength
double ShapeEdgeLength
Definition:
GeometricInformation.h:20
Topo::GeometricInformation::ShapeVolume
double ShapeVolume
Definition:
GeometricInformation.h:18
Topo
Definition:
DbgInfo.h:17
Topo::GeometricInformation::ShapeSurfaceArea
double ShapeSurfaceArea
Definition:
GeometricInformation.h:19
Topo::GeometricInformation::ShapeVertexCount
unsigned int ShapeVertexCount
Definition:
GeometricInformation.h:21
lexocad
Topo
include
Topo
GeometricInformation.h
Generated by
1.8.18