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 / Draw and samples / the normal vector of point is opposite

the normal vector of point is opposite

the normal vector of point is opposite
xiangchunkong 2012/06/27 07:16
Hi,
I get the Normal vector of points on the model with two way:
first way:
1.use Geom_Surface::D1(u,v,pt,vec1,vec2)
2.vecResult = vec1^vec2(cross product)

second way:
1.use BRepGProp_Face propsface(face);propsface.Normal(SRU,SRV,gpPt,vecResult);

i get the normal vector of the point ,but sometime the normal vector is opposite that direction toward the models's inside

Thanks for any help
kong
You have to be logged in to download the attached file
 
 
Latest news
  • Open CASCADE Technology 6.7.0 is available for download!
  • Open CASCADE Technology 6.6.0 is available for download!
  • Open CASCADE Technology 6.5.5 is available for download!

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