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

Search the Forums
See All Topics
Open CASCADEShowroomGet it!Developer CornerSupport and ProductsAbout us
Technical overview
Areas of use
Advantages
FAQ
Screenshots
Shape factory
Shape gallery
Demonstrations
What's new
System requirements
Download Center
Public license
Documentation
Getting started
Forums
Open Source community
Training and e-learning
A-la Carte Support
Value-added software
Complementary Components
Customer Corner
Company Profile
Marketing Materials
Contact Us
News
Home / Developer Corner / Forums / Usage issues / How can i know a point is on a line or edge?

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 Technology 6.7.1 is available for download!
  • Open CASCADE Technology 6.7.0 is available for download!
  • Open CASCADE Technology 6.6.0 is available for download!

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