Version: 8.3.0
Rn.h File Reference
#include <gp_Pnt.hxx>
#include <gp_Vec.hxx>
#include <gp_Dir.hxx>
#include <iostream>
#include <cmath>
Include dependency graph for Rn.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  R2
 
class  R3
 
class  R4
 

Typedefs

typedef char Nom [1+24]
 
typedef unsigned long int N
 
typedef long int Z
 
typedef double R
 

Functions

template<class T >
Abs (const T &a)
 
template<class T >
void Echange (T &a, T &b)
 
template<class T >
Min (const T &a, const T &b)
 
template<class T >
Max (const T &a, const T &b)
 
template<class T >
Max (const T &a, const T &b, const T &c)
 
template<class T >
Min (const T &a, const T &b, const T &c)
 
template<class T >
Max (const T &a, const T &b, const T &c, const T &d)
 
template<class T >
Min (const T &a, const T &b, const T &c, const T &d)
 
R Aire2d (const R2 A, const R2 B, const R2 C)
 
R Angle2d (R2 P)
 
R Norme2_2 (const R2 &A)
 
R Norme2 (const R2 &A)
 
R NormeInfinie (const R2 &A)
 
R Norme2_2 (const R3 &A)
 
R Norme2 (const R3 &A)
 
R NormeInfinie (const R3 &A)
 
R Norme2_2 (const R4 &A)
 
R Norme2 (const R4 &A)
 
R NormeInfinie (const R4 &A)
 
R2 XY (R3 P)
 
R3 Min (R3 P, R3 Q)
 
R3 Max (R3 P, R3 Q)
 

Typedef Documentation

typedef unsigned long int N
typedef char Nom[1+24]
typedef double R
typedef long int Z

Function Documentation

template<class T >
T Abs ( const T &  a)

Referenced by VISCOUS_2D::_ViscousBuilder2D::adjustCommonEdge(), StdMeshersGUI_PropagationHelperWdg::buildChains(), compensateError(), StdMeshers_Import_1D2D::Compute(), StdMeshers_Regular_1D::computeInternalParameters(), VISCOUS_3D::_OffsetPlane::ComputeIntersectionLine(), StdMeshers_CartesianParameters3D::ComputeOptimalAxesDirs(), StdMeshers_Quadrangle_2D::computeQuadDominant(), StdMeshers_Prism_3D::computeWalls(), SMESH_Pattern::compUVByElasticIsolines(), SMESH_Pattern::compUVByIsoIntersection(), StdMeshers_Import_1D2D::Evaluate(), SMESH_Pattern::findExistingNodes(), StdMeshers_ProjectionUtils::FindFaceAssociation(), SMESH_MeshEditor::FindMatchingNodes(), VISCOUS_3D::_ViscousBuilder::findShapesToSmooth(), SMESH_MesherHelper::GetAngle(), SMESH_MeshAlgos::GetBarycentricCoords(), VISCOUS_3D::_OffsetPlane::GetCommonPoint(), StdMeshers_Quadrangle_2D::getCorners(), SMESH_MeshAlgos::GetDistance(), StdMeshers_Quadrangle_2D::getEnforcedUV(), VISCOUS_3D::getFaceDir(), SMESH_MeshEditor::GetHexaFacetsToSplit(), SMESH_Gen_i::GetInsideCylinder(), StdMeshers_PrismAsBlock::TSideFace::GetNodesAtZ(), SMESH_MesherHelper::GetNodeUV(), SMESH_MAT2d::Branch::getOppositeGeomEdges(), SMESH_MesherHelper::getUVOnSeam(), SMESH_MeshEditor::InsertNodesIntoLink(), SMESH::Controls::ElementsOnShape::Classifier::isBox(), SMESH_MAT2d::Boundary::isConcaveSegment(), SMESH_MesherHelper::IsOnSeam(), SMESH_MeshAlgos::IsOut(), VISCOUS_2D::_SegmentTree::_SegBox::IsOut(), SMESHGUI_ExtrusionDlg::isValuesValid(), FaceQuadStruct::Side::Length(), VISCOUS_2D::_ViscousBuilder2D::makePolyLines(), SMESH_MAT2d::Boundary::moveToClosestEdgeEnd(), FaceQuadStruct::Side::NbPoints(), NormeInfinie(), StdMeshersGUI_PropagationHelperWdg::onListSelectionChanged(), SMESHGUI_SewingDlg::onMoveBorderEnd(), SMESHGUI_SewingDlg::onSelectBorderPartFromGroup(), SMESHGUI_SewingDlg::onSwapClicked(), qualitetrte_(), VISCOUS_2D::_ViscousBuilder2D::refine(), SMESH_MeshEditor::Reorient2D(), SMESH_MeshEditor::Reorient2DBy3D(), StdMeshers_CartesianParameters3D::SetAxisDirs(), VISCOUS_3D::_LayerEdge::SetCosin(), VISCOUS_3D::_ViscousBuilder::setEdgeData(), VISCOUS_3D::_LayerEdge::SetNewLength2d(), SMESH_MesherHelper::SetSubShape(), SMESH_MeshEditor::SewFreeBorder(), VISCOUS_2D::_ViscousBuilder2D::shrink(), VISCOUS_3D::_Smoother1D::smoothComplexEdge(), SMESH_Pattern::sortSameSizeWires(), SMESH_MeshEditor::sweepElement(), SMESHGUI_SewingDlg::BorderGroupDisplayer::Update(), VISCOUS_3D::_ViscousBuilder::updateNormals(), and SMESH_Block::Values().

R Aire2d ( const R2  A,
const R2  B,
const R2  C 
)
R Angle2d ( R2  P)

References R2::x, and R2::y.

template<class T >
void Echange ( T &  a,
T &  b 
)
template<class T >
T Max ( const T &  a,
const T &  b 
)

Referenced by VISCOUS_3D::AverageHyp::Add(), SMESHDS_Mesh::AddCompoundSubmesh(), VISCOUS_2D::_ViscousBuilder2D::adjustCommonEdge(), aptrte(), SMESH_MesherHelper::CheckNodeU(), checkQuads(), SMESH::TShapeDisplayer::checkTriangulation(), SMESHDS_Mesh::compactMesh(), StdMeshers_QuadToTriaAdaptor::Compute2ndPart(), StdMeshers_Quadrangle_2D::computeQuadPref(), StdMeshers_Quadrangle_2D::computeReduced(), SMESH_Pattern::compUVByElasticIsolines(), SMESHGUI_ReorientFacesDlg::createMainFrame(), deflection(), StdMeshers_CompositeHexa_3D::Evaluate(), StdMeshers_Hexa_3D::Evaluate(), StdMeshers_RadialPrism_3D::Evaluate(), StdMeshers_MEFISTO_2D::Evaluate(), StdMeshers_Quadrangle_2D::Evaluate(), StdMeshers_Penta_3D::Evaluate(), StdMeshers_Prism_3D::Evaluate(), StdMeshers_Quadrangle_2D::evaluateQuadPref(), SMESH_MeshEditor::ExtrusParam::ExtrusParam(), FaceQuadStruct::findCell(), SMESH_MeshAlgos::FindCoincidentFreeBorders(), StdMeshers_ProjectionUtils::FindFaceAssociation(), VISCOUS_3D::_ViscousBuilder::findShapesToSmooth(), SMESH_Block::findUVAround(), SMESH_Block::findUVByHalfDivision(), StdMeshers_Quadrangle_2D::getCorners(), SMESH_Pattern::getFacesDefinition(), LinkID_Gen::GetLinkID(), VISCOUS_3D::_ViscousBuilder::getNormalByOffset(), SMESH::Controls::MaxElementLength2D::GetValue(), SMESH::Controls::MaxElementLength3D::GetValue(), SMESH::Controls::AspectRatio::GetValue(), SMESH::Controls::Warping::GetValue(), SMESH::Controls::Taper::GetValue(), SMESH::Controls::Skew::GetValue(), SMESH::Controls::MultiConnection2D::GetValue(), VISCOUS_2D::_ViscousBuilder2D::inflate(), SMESH::Controls::ElementsOnShape::Classifier::Init(), VISCOUS_3D::_ViscousBuilder::invalidateBadSmooth(), VISCOUS_3D::_Simplex::IsMinAngleOK(), SMESH_MeshAlgos::IsOut(), FaceQuadStruct::Side::Length(), StdMeshers_QuadToTriaAdaptor::LimitHeight(), VISCOUS_3D::_ViscousBuilder::limitStepSizeByCurvature(), VISCOUS_2D::_ViscousBuilder2D::makePolyLines(), Max(), SMESH_MesherHelper::MaxTolerance(), VISCOUS_3D::_LayerEdge::MoveNearConcaVer(), VISCOUS_2D::_ProxyMeshOfFace::_EdgeSubMesh::NbNodes(), NormeInfinie(), StdMeshersGUI_CartesianParamCreator::onAxisDirChange(), StdMeshersGUI_CartesianParamCreator::onSelectionChange(), SMESH_MeshEditor::OrientedAngle(), DriverMED_W_SMESHDS_Mesh::Perform(), SMESH_PreMeshInfo::readSubMeshes(), SMESH_PreMeshInfo::readSubMeshInfo(), _pyCommand::RemoveArgs(), VISCOUS_3D::_ViscousBuilder::setEdgeData(), SMESH_Pattern::setFirstEdge(), VISCOUS_3D::_LayerEdge::SetNewLength2d(), StdMeshers_Quadrangle_2D::setNormalizedGrid(), StdMeshers_Deflection1D::SetParametersByMesh(), StdMeshers_Adaptive1D::SetParametersByMesh(), SMESH_MesherHelper::SetSubShape(), SMESH_MeshEditor::SewFreeBorder(), SMESHGUI_CtrlInfo::showInfo(), VISCOUS_2D::_ViscousBuilder2D::shrink(), VISCOUS_3D::_LayerEdge::SmoothPos(), and StdMeshers_Quadrangle_2D::updateSideUV().

template<class T >
T Max ( const T &  a,
const T &  b,
const T &  c 
)

References Max().

template<class T >
T Max ( const T &  a,
const T &  b,
const T &  c,
const T &  d 
)

References Max().

R3 Max ( R3  P,
R3  Q 
)

References R3::x, R3::y, and R3::z.

template<class T >
T Min ( const T &  a,
const T &  b 
)

Referenced by VISCOUS_2D::_ViscousBuilder2D::adjustCommonEdge(), aptrte(), VISCOUS_3D::_LayerEdge::Block(), compensateError(), StdMeshers_QuadToTriaAdaptor::Compute(), SMESH::Controls::Warping::ComputeA(), VISCOUS_3D::_ViscousBuilder::computeGeomSize(), StdMeshers_Regular_1D::computeInternalParameters(), computeParamByFunc(), StdMeshers_Quadrangle_2D::computeQuadPref(), StdMeshers_Quadrangle_2D::computeReduced(), SMESH_Pattern::compUVByElasticIsolines(), SMESHGUI_MeshOp::createMesh(), SMESHGUI_MeshOp::createSubMesh(), SMESHGUI_MeshOp::editMeshOrSubMesh(), StdMeshers_MEFISTO_2D::Evaluate(), StdMeshers_Quadrangle_2D::Evaluate(), StdMeshers_Quadrangle_2D::evaluateQuadPref(), FaceQuadStruct::findCell(), VISCOUS_3D::_ViscousBuilder::findShapesToSmooth(), SMESH_Block::findUVAround(), SMESH_Block::findUVByHalfDivision(), SMESH_MAT2d::Branch::getBoundaryPoints(), StdMeshers_Quadrangle_2D::getCorners(), SMESH_MeshAlgos::GetDistance(), VISCOUS_3D::getDistFromEdge(), StdMeshers_Quadrangle_2D::getEnforcedUV(), SMESH::NumericalFunctor_i::GetHistogram(), VISCOUS_2D::_ViscousBuilder2D::getLineThickness(), LinkID_Gen::GetLinkID(), SMESH::NumericalFunctor_i::GetLocalHistogram(), VISCOUS_3D::_ViscousBuilder::getNormalByOffset(), StdMeshers_Prism_3D::getSweepTolerance(), SMESH::Controls::MinimumAngle::GetValue(), SMESH::Controls::AspectRatio::GetValue(), SMESH::Controls::Length2D::GetValue(), VISCOUS_2D::_ViscousBuilder2D::inflate(), VISCOUS_3D::_ViscousBuilder::inflate(), SMESH::Controls::ElementsOnShape::Classifier::isBox(), FaceQuadStruct::isEqual(), VISCOUS_3D::_ViscousBuilder::isNewNormalOk(), SMESH_Algo::IsStraight(), FaceQuadStruct::Side::Length(), StdMeshers_QuadToTriaAdaptor::LimitHeight(), VISCOUS_3D::_ViscousBuilder::limitMaxLenByCurvature(), VISCOUS_3D::_ViscousBuilder::limitStepSizeByCurvature(), VISCOUS_2D::_ViscousBuilder2D::makePolyLines(), Min(), FaceQuadStruct::normPa2IJ(), SMESHGUI_MeshOp::onAlgoSelected(), SMESHGUI_MeshTab::onEditHyp(), VISCOUS_3D::_SolidData::PrepareEdgesToSmoothOnFace(), StdMeshers_Regular_1D::redistributeNearVertices(), VISCOUS_3D::_LayerEdge::SetNewLength2d(), StdMeshers_Quadrangle_2D::setNormalizedGrid(), StdMeshers_Adaptive1D::SetParametersByMesh(), SMESH_MesherHelper::SetSubShape(), SMESH_MeshEditor::SewFreeBorder(), VISCOUS_2D::_ViscousBuilder2D::shrink(), VISCOUS_3D::_LayerEdge::Smooth(), VISCOUS_3D::_LayerEdge::SmoothPos(), VISCOUS_3D::_ViscousBuilder::updateNormals(), and StdMeshers_Quadrangle_2D::updateSideUV().

template<class T >
T Min ( const T &  a,
const T &  b,
const T &  c 
)

References Min().

template<class T >
T Min ( const T &  a,
const T &  b,
const T &  c,
const T &  d 
)

References Min().

R3 Min ( R3  P,
R3  Q 
)

References R3::x, R3::y, and R3::z.

R Norme2 ( const R2 A)
R Norme2 ( const R3 A)
R Norme2 ( const R4 A)
R Norme2_2 ( const R2 A)
R Norme2_2 ( const R3 A)
R Norme2_2 ( const R4 A)
R NormeInfinie ( const R2 A)

References Abs(), Max(), R2::x, and R2::y.

R NormeInfinie ( const R3 A)

References Abs(), Max(), R3::x, R3::y, and R3::z.

R NormeInfinie ( const R4 A)

References Abs(), Max(), R4::omega, R3::x, R3::y, and R3::z.

R2 XY ( R3  P)

References R3::x, and R3::y.

Referenced by checkQuads(), and SMESH_Pattern::sortSameSizeWires().