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
;
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::ShapeEdgeLength
double ShapeEdgeLength
Definition:
GeometricInformation.h:20
Topo::GeometricInformation::ShapeVertexCount
unsigned int ShapeVertexCount
Definition:
GeometricInformation.h:21
Topo::GeometricInformation
Definition:
GeometricInformation.h:6
Topo
Definition:
Variant.h:55
Topo::GeometricInformation::operator+=
GeometricInformation operator+=(GeometricInformation gi)
Definition:
GeometricInformation.h:9
Topo::GeometricInformation::ShapeSurfaceArea
double ShapeSurfaceArea
Definition:
GeometricInformation.h:19
Topo::GeometricInformation::ShapeVolume
double ShapeVolume
Definition:
GeometricInformation.h:18
lexocad
Topo
include
Topo
GeometricInformation.h
Generated by
1.8.15