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
{
8
struct
TOPO_EXPORT
GeometricInformation
9
{
10
GeometricInformation
() =
default
;
11
GeometricInformation
operator+=
(
GeometricInformation
gi)
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
Topo::GeometricInformation::ShapeEdgeLength
double ShapeEdgeLength
Definition:
GeometricInformation.h:22
Topo::GeometricInformation::ShapeVertexCount
unsigned int ShapeVertexCount
Definition:
GeometricInformation.h:23
TOPO_EXPORT
#define TOPO_EXPORT
Definition:
topo_defines.h:8
Topo::GeometricInformation
Definition:
GeometricInformation.h:8
Topo
Definition:
Variant.h:70
Topo::GeometricInformation::operator+=
GeometricInformation operator+=(GeometricInformation gi)
Definition:
GeometricInformation.h:11
Topo::GeometricInformation::ShapeSurfaceArea
double ShapeSurfaceArea
Definition:
GeometricInformation.h:21
Topo::GeometricInformation::ShapeVolume
double ShapeVolume
Definition:
GeometricInformation.h:20
topo_defines.h
lexocad
Topo
include
Topo
GeometricInformation.h
Generated by
1.8.15