Class emulating pcurve on a hirizontal face. More...
Public Member Functions | |
TPCurveOnHorFaceAdaptor (const TSideFace *sideFace, const bool isTop, const TopoDS_Face &horFace) | |
Costructor of TPCurveOnHorFaceAdaptor fills its map of normalized parameter to node UV on a horizontal face. More... | |
gp_Pnt2d | Value (const Standard_Real U) const |
Return UV on pcurve for the given normalized parameter. More... | |
Standard_Real | FirstParameter () const |
Standard_Real | LastParameter () const |
Private Attributes | |
std::map< double, gp_XY > | myUVmap |
Class emulating pcurve on a hirizontal face.
StdMeshers_PrismAsBlock::TPCurveOnHorFaceAdaptor::TPCurveOnHorFaceAdaptor | ( | const TSideFace * | sideFace, |
const bool | isTop, | ||
const TopoDS_Face & | horFace | ||
) |
Costructor of TPCurveOnHorFaceAdaptor fills its map of normalized parameter to node UV on a horizontal face.
[in] | sideFace | - lateral prism side |
[in] | isTop | - is horFace top or bottom of the prism |
[in] | horFace | - top or bottom face of the prism |
References SMESH_MesherHelper::CheckNodeUV(), StdMeshers_PrismAsBlock::TSideFace::ColumnHeight(), Edge, StdMeshers_PrismAsBlock::TSideFace::GetMesh(), SMESH_MesherHelper::GetMeshDS(), StdMeshers_PrismAsBlock::TSideFace::GetNodesAtZ(), SMESH_MesherHelper::GetNodeUV(), SMDS_MeshNode::GetPosition(), SMDS_MeshElement::getshapeId(), SMESH_MesherHelper::GetSubShapeByNode(), SMDS_Position::GetTypeOfPosition(), Handle(), SMESH_MesherHelper::MaxTolerance(), SMESH_MesherHelper::SetSubShape(), and SMDS_TOP_EDGE.
Standard_Real StdMeshers_PrismAsBlock::TPCurveOnHorFaceAdaptor::FirstParameter | ( | ) | const |
Standard_Real StdMeshers_PrismAsBlock::TPCurveOnHorFaceAdaptor::LastParameter | ( | ) | const |
gp_Pnt2d StdMeshers_PrismAsBlock::TPCurveOnHorFaceAdaptor::Value | ( | const Standard_Real | U | ) | const |
Return UV on pcurve for the given normalized parameter.
U | - normalized parameter |
gp_Pnt | - coordinates |
|
private |