Forum archiveIssue archiveOther usage issues

Archived discussion

About 2D area filling

Other usage issuesThu, 10/30/2008 - 12:355 replies

Browse this forum
QuestionAuthor

Hi,

In opencascade, how can I fill a 2D area by click in the center of this area, just like autoCAD do 2D area filling?

Discussion

5 archived replies

Posts are displayed in their archived order.

01Commenter-1

See the MFC 2D Samples

02Author

Sorry, I mean that there are only edges(TopoDS_Edge) connected with each outher in 2D plane, those edges cut the 2D plane into many areas, then giving a point(TopoDS_Vertex) in some area, then the the filling algorithm will found the boundary(list of TopoDS_Edge) of this area, like the filling algorithm of AutoCAD.

03Commenter-2

Dear Author

1. "...outher..." : unknown word ;
2. "...2D plane..." : A plane is 3D-object by definition;
3. "... filling algorithm of AutoCAD..." : could you clarify the details of this algorithm ?

04Commenter-3

3. "... filling algorithm of AutoCAD..." : could you clarify the details of this algorithm ?

it's command "bo" in AutoCAD.

05Commenter-3

I need this too