From 73df78c0c4187c339ddc0a814f047ffa8bbb3373 Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 22 Nov 2013 12:37:31 +0000 Subject: [PATCH] 22361: EDF SMESH: Quadrangle (mapping) algorithm: faces with more than 4 edges - StdMeshers_FaceSide(const SMDS_MeshNode* theNode, - const gp_Pnt2d thePnt2d, - const StdMeshers_FaceSide* theSide); + StdMeshers_FaceSide(const StdMeshers_FaceSide* theSide, + const SMDS_MeshNode* theNode, + const gp_Pnt2d* thePnt2d1, + const gp_Pnt2d* thePnt2d2=NULL, + const Handle(Geom2d_Curve)& theC2d=NULL, + const double theUFirst=0., + const double theULast=1.); --- src/StdMeshers/StdMeshers_FaceSide.hxx | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/StdMeshers/StdMeshers_FaceSide.hxx b/src/StdMeshers/StdMeshers_FaceSide.hxx index fce2e8de0..2a4e1786f 100644 --- a/src/StdMeshers/StdMeshers_FaceSide.hxx +++ b/src/StdMeshers/StdMeshers_FaceSide.hxx @@ -86,9 +86,13 @@ public: /*! * \brief Simulate a side from a vertex using data from other FaceSide */ - StdMeshers_FaceSide(const SMDS_MeshNode* theNode, - const gp_Pnt2d thePnt2d, - const StdMeshers_FaceSide* theSide); + StdMeshers_FaceSide(const StdMeshers_FaceSide* theSide, + const SMDS_MeshNode* theNode, + const gp_Pnt2d* thePnt2d1, + const gp_Pnt2d* thePnt2d2=NULL, + const Handle(Geom2d_Curve)& theC2d=NULL, + const double theUFirst=0., + const double theULast=1.); /*! * \brief Return wires of a face as StdMeshers_FaceSide's */ @@ -251,7 +255,7 @@ protected: std::vector myFirst, myLast; std::vector myNormPar; std::vector myEdgeLength; - std::vector myIsUniform; + std::vector myIsUniform; double myLength; int myNbPonits, myNbSegments; SMESH_ProxyMesh::Ptr myProxyMesh; -- 2.39.2