Version: 8.3.0
VISCOUS_3D::_CentralCurveOnEdge Struct Reference

Container of centers of curvature at nodes on an EDGE bounding _ConvexFace. More...

Public Member Functions

void Append (const gp_Pnt &center, _LayerEdge *ledge)
 
bool FindNewNormal (const gp_Pnt &center, gp_XYZ &newNormal)
 Try to compute a new normal by interpolating normals of _LayerEdge's stored in this _CentralCurveOnEdge. More...
 
void SetShapes (const TopoDS_Edge &edge, const _ConvexFace &convFace, _SolidData &data, SMESH_MesherHelper &helper)
 Set shape members. More...
 

Data Fields

bool _isDegenerated
 
vector< gp_Pnt > _curvaCenters
 
vector< _LayerEdge * > _ledges
 
vector< gp_XYZ > _normals
 
vector< double > _segLength2
 
TopoDS_Edge _edge
 
TopoDS_Face _adjFace
 
bool _adjFaceToSmooth
 

Detailed Description

Container of centers of curvature at nodes on an EDGE bounding _ConvexFace.

Member Function Documentation

void VISCOUS_3D::_CentralCurveOnEdge::Append ( const gp_Pnt &  center,
_LayerEdge ledge 
)
bool _CentralCurveOnEdge::FindNewNormal ( const gp_Pnt &  center,
gp_XYZ &  newNormal 
)

Try to compute a new normal by interpolating normals of _LayerEdge's stored in this _CentralCurveOnEdge.

Parameters
[in]center- curvature center of a point of another _CentralCurveOnEdge.
[in,out]newNormal- current normal at this point, to be redefined
Returns
bool - true if succeeded.

References _curvaCenters, _isDegenerated, _ledges, and _segLength2.

void _CentralCurveOnEdge::SetShapes ( const TopoDS_Edge &  edge,
const _ConvexFace convFace,
_SolidData data,
SMESH_MesherHelper helper 
)

Field Documentation

TopoDS_Face VISCOUS_3D::_CentralCurveOnEdge::_adjFace
bool VISCOUS_3D::_CentralCurveOnEdge::_adjFaceToSmooth

Referenced by SetShapes().

vector< gp_Pnt > VISCOUS_3D::_CentralCurveOnEdge::_curvaCenters
TopoDS_Edge VISCOUS_3D::_CentralCurveOnEdge::_edge
bool VISCOUS_3D::_CentralCurveOnEdge::_isDegenerated
vector< _LayerEdge* > VISCOUS_3D::_CentralCurveOnEdge::_ledges
vector< gp_XYZ > VISCOUS_3D::_CentralCurveOnEdge::_normals
vector< double > VISCOUS_3D::_CentralCurveOnEdge::_segLength2

Referenced by FindNewNormal().