Container of centers of curvature at nodes on an EDGE bounding _ConvexFace. More...
Public Member Functions | |
void | Append (const gp_Pnt ¢er, _LayerEdge *ledge) |
bool | FindNewNormal (const gp_Pnt ¢er, 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 |
Container of centers of curvature at nodes on an EDGE bounding _ConvexFace.
void VISCOUS_3D::_CentralCurveOnEdge::Append | ( | const gp_Pnt & | center, |
_LayerEdge * | ledge | ||
) |
References VISCOUS_3D::_LayerEdge::_normal.
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.
[in] | center | - curvature center of a point of another _CentralCurveOnEdge. |
[in,out] | newNormal | - current normal at this point, to be redefined |
References _curvaCenters, _isDegenerated, _ledges, and _segLength2.
void _CentralCurveOnEdge::SetShapes | ( | const TopoDS_Edge & | edge, |
const _ConvexFace & | convFace, | ||
_SolidData & | data, | ||
SMESH_MesherHelper & | helper | ||
) |
Set shape members.
References _adjFace, _adjFaceToSmooth, _edge, VISCOUS_3D::_ConvexFace::_face, Face, SMESH_MesherHelper::GetAncestors(), SMESH_MesherHelper::GetMesh(), and VISCOUS_3D::_SolidData::GetShapeEdges().
Referenced by VISCOUS_3D::_ViscousBuilder::updateNormalsOfConvexFaces().
TopoDS_Face VISCOUS_3D::_CentralCurveOnEdge::_adjFace |
Referenced by SetShapes(), and VISCOUS_3D::_ViscousBuilder::updateNormalsOfConvexFaces().
bool VISCOUS_3D::_CentralCurveOnEdge::_adjFaceToSmooth |
Referenced by SetShapes().
vector< gp_Pnt > VISCOUS_3D::_CentralCurveOnEdge::_curvaCenters |
Referenced by FindNewNormal(), and VISCOUS_3D::_ViscousBuilder::updateNormalsOfConvexFaces().
TopoDS_Edge VISCOUS_3D::_CentralCurveOnEdge::_edge |
Referenced by SetShapes(), and VISCOUS_3D::_ViscousBuilder::updateNormalsOfConvexFaces().
bool VISCOUS_3D::_CentralCurveOnEdge::_isDegenerated |
Referenced by FindNewNormal(), and VISCOUS_3D::_ViscousBuilder::updateNormalsOfConvexFaces().
vector< _LayerEdge* > VISCOUS_3D::_CentralCurveOnEdge::_ledges |
Referenced by FindNewNormal(), and VISCOUS_3D::_ViscousBuilder::updateNormalsOfConvexFaces().
vector< gp_XYZ > VISCOUS_3D::_CentralCurveOnEdge::_normals |
Referenced by VISCOUS_3D::_ViscousBuilder::updateNormalsOfConvexFaces().
vector< double > VISCOUS_3D::_CentralCurveOnEdge::_segLength2 |
Referenced by FindNewNormal().