Fri, 03/22/2002 - 19:48
Forums:
Has anyone used Open Cascade to calculate the projected area of a shape. For instance create a box using BRepPrimAPI_MakeBox. Then define a plane that you want to find the projected area of the box on this plane. Is there a simple way to find the projected area on this plane that I am missing in my searching through the OCC documentation.
Cathy
Sat, 03/23/2002 - 19:53
Hi Cathy,
You can use the Hidden Line Removal Algorithm.
Have a look at the HLR Sample, or the classes HLRBRep_* HLRAlgo*
Stephane
http://www.exotk.org
Tue, 03/26/2002 - 21:54
Is the sample you are referring to located at
CAS4.0/Samples/src/ISession2D/ISession2D_Shape.cxx where CAS4.0 is the root directory for the Open Cascade software?
Cathy