Madz T Tue, 01/16/2018 - 15:04 Forums: Modeling Data and AlgorithmsI have a point on a face and I've found the normal to that point. I want to translate that point along that normal to a given distance. How do I achieve this? Thank you. Shing Liu Tue, 01/16/2018 - 16:39 The demo code: gp_Pnt aPointOnFace; gp_Dir aNormalDir; Standard_Real aDistance; aPointOnFace.Translate(aNormalDir.XYZ() * aDistance); Log in to post comments Madz T Thu, 01/18/2018 - 09:01 Thanks eryar. Just what I was looking for. Log in to post comments
Tue, 01/16/2018 - 16:39
The demo code:
gp_Pnt aPointOnFace;
gp_Dir aNormalDir;
Standard_Real aDistance;
aPointOnFace.Translate(aNormalDir.XYZ() * aDistance);
Thu, 01/18/2018 - 09:01
Thanks eryar. Just what I was looking for.