Forum archiveIssue archiveOther usage issues

Archived discussion

Calculating projected area

Other usage issuesFri, 03/22/2002 - 19:482 replies

Browse this forum
QuestionAuthor

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

Discussion

2 archived replies

Posts are displayed in their archived order.

01Commenter-1

Hi Cathy,

You can use the Hidden Line Removal Algorithm.
Have a look at the HLR Sample, or the classes HLRBRep_* HLRAlgo*

Commenter-1
http://www.exotk.org

02Author

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