#include <SMESH_Measurements_i.hxx>

Public Member Functions | |
| Measurements_i () | |
| ~Measurements_i () | |
| SMESH::Measure | MinDistance (SMESH::SMESH_IDSource_ptr theSource1, SMESH::SMESH_IDSource_ptr theSource2) |
| minimal distance between two given entities More... | |
| SMESH::Measure | BoundingBox (const SMESH::ListOfIDSources &theSources) |
| common bounding box of entities More... | |
| double | Length (SMESH::SMESH_IDSource_ptr theSource) |
| sum of length of 1D elements of the source More... | |
| double | Area (SMESH::SMESH_IDSource_ptr theSource) |
| sum of area of 2D elements of the source More... | |
| double | Volume (SMESH::SMESH_IDSource_ptr theSource) |
| sum of volume of 3D elements of the source More... | |
| SMESH::PointStruct | GravityCenter (SMESH::SMESH_IDSource_ptr theSource) |
| gravity center of the source More... | |
| CORBA::Double | Angle (const SMESH::PointStruct &p1, const SMESH::PointStruct &p2, const SMESH::PointStruct &p3) |
| angle in radians defined by 3 points <(p1,p2,p3) More... | |
| SMESH::Measurements_i::Measurements_i | ( | ) |
| SMESH::Measurements_i::~Measurements_i | ( | ) |
| CORBA::Double SMESH::Measurements_i::Angle | ( | const SMESH::PointStruct & | p1, |
| const SMESH::PointStruct & | p2, | ||
| const SMESH::PointStruct & | p3 | ||
| ) |
angle in radians defined by 3 points <(p1,p2,p3)
References SMESH::PointStruct::x, SMESH::PointStruct::y, and SMESH::PointStruct::z.
| double SMESH::Measurements_i::Area | ( | SMESH::SMESH_IDSource_ptr | theSource | ) |
sum of area of 2D elements of the source
References getNumericalValue().
| SMESH::Measure SMESH::Measurements_i::BoundingBox | ( | const SMESH::ListOfIDSources & | theSources | ) |
common bounding box of entities
References enlargeBoundingBox(), and initMeasure().
| SMESH::PointStruct SMESH::Measurements_i::GravityCenter | ( | SMESH::SMESH_IDSource_ptr | theSource | ) |
gravity center of the source
References SMESH::ALL, SMESH_Mesh_i::GetElements(), getMesh(), SMDS_MeshElement::isMarked(), SMESH_MeshAlgos::MarkElems(), SMDS_MeshElement::nodeIterator(), SMDS_Mesh::nodesIterator(), SMDS_MeshElement::setIsMarked(), SMESH::PointStruct::x, SMESH::PointStruct::y, and SMESH::PointStruct::z.
| double SMESH::Measurements_i::Length | ( | SMESH::SMESH_IDSource_ptr | theSource | ) |
sum of length of 1D elements of the source
References getNumericalValue().
| SMESH::Measure SMESH::Measurements_i::MinDistance | ( | SMESH::SMESH_IDSource_ptr | theSource1, |
| SMESH::SMESH_IDSource_ptr | theSource2 | ||
| ) |
minimal distance between two given entities
References SMESH::ALL, SMDS_Mesh::FindNode(), SMESH_Mesh_i::GetElements(), SMESH_MeshAlgos::GetElementSearcher(), getMesh(), getNodeElemDistance(), getNodeNodeDistance(), initMeasure(), and isNodeType().
| double SMESH::Measurements_i::Volume | ( | SMESH::SMESH_IDSource_ptr | theSource | ) |
sum of volume of 3D elements of the source
References getNumericalValue().