[Gmsh] GEdge: reparamOnFace: Doubt

Chaman Singh Verma csv610 at gmail.com
Sun Jun 7 13:59:22 CEST 2009


Hello,

Since I am using Gmsh with different geometric engines, I am trying to
understand each
function in Gmsh.

I have one doubt in the usage of the following function ( in the GEdge.h" )


             virtual SPoint2 reparamOnFace(const GFace *face, double epar,
int dir) const;

How the 3rd argument "dir"  is to be used ?

1)  The default implementation of this function ( in Gmsh) doesn't use dir
at all.
2)  In Geo/OCCEdge, different actions are taken for +ve and -ve directions.

My understanding is the increasing value of U ( parametric value ) is +ve
and decreasing value is -ve.
So if we call

             reparamOnFace( face, u, -1.0)

then perhaps we need to change u = umax-u in the implementation, but since
default implementation
doesn't care about dir, I am interested in knowing what should be the
behaviour of this function
with other geometric models ?


Thanks.
csv
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20090607/0d46f814/attachment.html>