Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics
 

How can i know a point is on a line or edge?

How can i know a point is on a line or edge?
WuXuan 2013/04/04 08:24
i mean,i have a point and an edge. what function i can use to distinguish whether the point is on the edge?
Alexander Luger 2013/04/11 12:46
You can try to determine the minimum distance between the point and the edge by using BRepExtrema_DistShapeShape. If the distance is very small, the point might be considered to lie on the edge.
WuXuan 2013/04/15 15:22
thanks,i have solved it,use line.Contains function can solve this problem
 
 
Latest news
  • New features to enhance the development process
  • Open CASCADE Technology 6.7.1 is available for download!
  • Open CASCADE Technology 6.7.0 is available for download!

  • © OPEN CASCADE 2000 - 2014  |  Search  |  Contacts   |  Site map