For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Displaying curves in 2d

Anonymous's picture


I want to display a list of Geom2d_Curve in a 2d view.

In my compute method ( as in the Vizu user gide p 94 ), I'm using Handle_GGraphic2d_SetOfCurve aSet = new GGraphic2d_SetOfCurve(aGrObj);

for ( ) { aSet->Add( myList(iterator) ); }

It works, but the performances or VERY bad ( I have 20 curves ).

Is it a way to change the deflection of these curves ?

How can I get the drawer ? in the class Graphic2d_Primitive ( and inherited ), the method Draweer is protected; in Graphic2d_GraphicObject, the method View() is private.

Should I inherit from GGraphic2d_SetOfCurve ?

Is there another way to have acces to this Drawer ?



Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.