Version: 9.12.0
SMESH::Measurements_i Class Reference

#include <SMESH_Measurements_i.hxx>

Inheritance diagram for SMESH::Measurements_i:

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...
 

Constructor & Destructor Documentation

◆ Measurements_i()

SMESH::Measurements_i::Measurements_i ( )

◆ ~Measurements_i()

SMESH::Measurements_i::~Measurements_i ( )

Member Function Documentation

◆ Angle()

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.

◆ Area()

double SMESH::Measurements_i::Area ( SMESH::SMESH_IDSource_ptr  theSource)

sum of area of 2D elements of the source

References getNumericalValue().

◆ BoundingBox()

SMESH::Measure SMESH::Measurements_i::BoundingBox ( const SMESH::ListOfIDSources theSources)

common bounding box of entities

References enlargeBoundingBox(), and initMeasure().

◆ GravityCenter()

◆ Length()

double SMESH::Measurements_i::Length ( SMESH::SMESH_IDSource_ptr  theSource)

sum of length of 1D elements of the source

References getNumericalValue().

◆ MinDistance()

SMESH::Measure SMESH::Measurements_i::MinDistance ( SMESH::SMESH_IDSource_ptr  theSource1,
SMESH::SMESH_IDSource_ptr  theSource2 
)

◆ Volume()

double SMESH::Measurements_i::Volume ( SMESH::SMESH_IDSource_ptr  theSource)

sum of volume of 3D elements of the source

References getNumericalValue().