Version: 8.3.0
StdMeshers_Sweeper Struct Reference

Tool building internal nodes in a prism. More...

#include <StdMeshers_Prism_3D.hxx>

Public Member Functions

bool ComputeNodes (SMESH_MesherHelper &helper, const double tol, const bool allowHighBndError)
 Creates internal nodes of the prism. More...
 

Data Fields

std::vector< TNodeColumn * > myBndColumns
 
std::vector< TNodeColumn * > myIntColumns
 

Private Member Functions

gp_XYZ bndPoint (int iP, int z) const
 
gp_XYZ intPoint (int iP, int z) const
 

Static Private Member Functions

static bool projectIntPoints (const std::vector< gp_XYZ > &fromBndPoints, const std::vector< gp_XYZ > &toBndPoints, const std::vector< gp_XYZ > &fromIntPoints, std::vector< gp_XYZ > &toIntPoints, StdMeshers_ProjectionUtils::TrsfFinder3D &trsf, std::vector< gp_XYZ > *bndError)
 Projects internal nodes using transformation found by boundary nodes. More...
 
static void applyBoundaryError (const std::vector< gp_XYZ > &bndPoints, const std::vector< gp_XYZ > &bndError1, const std::vector< gp_XYZ > &bndError2, const double r, std::vector< gp_XYZ > &toIntPoints, std::vector< double > &int2BndDist)
 Add boundary error to ineternal points. More...
 

Detailed Description

Tool building internal nodes in a prism.

Member Function Documentation

void StdMeshers_Sweeper::applyBoundaryError ( const std::vector< gp_XYZ > &  bndPoints,
const std::vector< gp_XYZ > &  bndError1,
const std::vector< gp_XYZ > &  bndError2,
const double  r,
std::vector< gp_XYZ > &  toIntPoints,
std::vector< double > &  int2BndDist 
)
staticprivate

Add boundary error to ineternal points.

gp_XYZ StdMeshers_Sweeper::bndPoint ( int  iP,
int  z 
) const
private

References myBndColumns.

bool StdMeshers_Sweeper::ComputeNodes ( SMESH_MesherHelper helper,
const double  tol,
const bool  allowHighBndError 
)

Creates internal nodes of the prism.

References SMESH_MesherHelper::AddNode().

Referenced by StdMeshers_Prism_3D::compute().

gp_XYZ StdMeshers_Sweeper::intPoint ( int  iP,
int  z 
) const
private

References myIntColumns.

bool StdMeshers_Sweeper::projectIntPoints ( const std::vector< gp_XYZ > &  fromBndPoints,
const std::vector< gp_XYZ > &  toBndPoints,
const std::vector< gp_XYZ > &  fromIntPoints,
std::vector< gp_XYZ > &  toIntPoints,
StdMeshers_ProjectionUtils::TrsfFinder3D trsf,
std::vector< gp_XYZ > *  bndError 
)
staticprivate

Field Documentation

std::vector< TNodeColumn* > StdMeshers_Sweeper::myBndColumns
std::vector< TNodeColumn* > StdMeshers_Sweeper::myIntColumns