For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

U V coordinates

Anonymous's picture
Forums: 

We have a face (its vertices, edges and wire are known) and we create the underlying surface. How can we recuperate the UV coordinates of the vertices (whose 3Dcoordinates are already known) ?

Thanxs!

Thomas Moreau's picture

Hi Sarah,

Have a look at BRep_Tool::Parameters ( const TopoDS_Vertex& V, const TopoDS_Face& F);

which returns the parameters U,V of the vertex V on the face F as a gp_Pnt2d.

Regards, Thomas