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
  • Open CASCADE CAD Assistant for iOS platform is available!
  • Open CASCADE Technology 6.9.0 is available for download!
  • JT Assistant for Android

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