Contains information about minimum and maximum wall thicknesses. More...
Public Types | |
| typedef cadex::internal::WallThicknessImpl_Data | ImplType |
Public Member Functions | |
| WallThickness_Data () | |
| Constructor. | |
| WallThickness_Data (std::shared_ptr< ImplType > theImpl) | |
| Constructor. | |
| double | MinThickness () const |
| Returns the minimum wall thickness in mm. | |
| double | MaxThickness () const |
| Returns the maximum wall thickness in mm. | |
| void | PointsOfMinThickness (Geom::Point &theFirstPoint, Geom::Point &theSecondPoint) const |
| Returns points of minimum thickness. | |
| void | PointsOfMaxThickness (Geom::Point &theFirstPoint, Geom::Point &theSecondPoint) const |
| Returns points of maximum thickness. | |
| MTKBase_DoubleList | ThicknessList () const |
| MTKBase_DoubleList | ThicknessList (double theThicknessTolerance) const |
| double | GetThickness (const ModelData::Face &theFace, double theU, double theV) const |
| Returns the thickness at a specific point on a surface. | |
| double | GetThickness (const ModelData::IndexedTriangleSet &theITS, int theTriangleIdx) const |
| Returns the thickness for the given triangle. | |
| double | GetThickness (const ModelData::IndexedTriangleSet &theITS, int theTriangleIdx, int theVertexSlot, double theCenterOffset=1.0) const |
| bool | IsEmpty () const |
| Returns true if WallThickness_Data is empty. | |
| ImplType * | Impl () const |
Contains information about minimum and maximum wall thicknesses.
| cadex::WallThickness_Data::WallThickness_Data | ( | ) |
Constructor.
Creates an empty WallThickness_Data.
| double cadex::WallThickness_Data::GetThickness | ( | const ModelData::IndexedTriangleSet & | theITS, |
| int | theTriangleIdx, | ||
| int | theVertexSlot, | ||
| double | theCenterOffset = 1.0 ) const |
Returns the thickness between the given vertex and a center of a triangle. theCenterOffset should be within [0;1] range, where 0 refer to a center point of a triangle, 1 refer to a given vertex.
| void cadex::WallThickness_Data::PointsOfMaxThickness | ( | Geom::Point & | theFirstPoint, |
| Geom::Point & | theSecondPoint ) const |
Returns points of maximum thickness.
Returns the points on the surface between which the maximum thickness has been found. Distance between points is MaxThickness()
| void cadex::WallThickness_Data::PointsOfMinThickness | ( | Geom::Point & | theFirstPoint, |
| Geom::Point & | theSecondPoint ) const |
Returns points of minimum thickness.
Returns the points on the surface between which the minimum thickness has been found. Distance between points is MinThickness()
| MTKBase_DoubleList cadex::WallThickness_Data::ThicknessList | ( | ) | const |
Returns full range of different thickness values found during wall thickness analysis.
| MTKBase_DoubleList cadex::WallThickness_Data::ThicknessList | ( | double | theThicknessTolerance | ) | const |
Returns the range of unique thickness values found during wall thickness analysis, in ascending order and in increments greater than theThicknessTolerance.