Hi All,
When I zoom a circle, it will be displayed as a polygon. Is there any function like refresh to make it smooth?
regards,
Akbari
Roman Lygin Tue, 02/22/2005 - 23:17
Hi Akbari,
If you are using AIS_Shape (based on TopoDS_Edge built on your circle) or AIS_Circle then you can control accuracy with drawer attached to the shape. See how
Prs3d_Drawer::TypeOfDeflection()
Prs3d_Drawer::ChordialDeviation()
Prs3d_Drawer::MaximalChordialDeviation()
are used in StdPrs_DeflectionCurve.
But since any object is visualized with the help of tessellation (triangulation or polygons) then you may always see polygon at some degree of zooming.
Hi Roman,
Thank you for your response.
I am using AIS_Shape,but I dont know how to use that functions you said.
How can I use these functions in OCC samples?
Regards,
Akbari
Tue, 02/22/2005 - 23:17
Hi Akbari,
If you are using AIS_Shape (based on TopoDS_Edge built on your circle) or AIS_Circle then you can control accuracy with drawer attached to the shape. See how
Prs3d_Drawer::TypeOfDeflection()
Prs3d_Drawer::ChordialDeviation()
Prs3d_Drawer::MaximalChordialDeviation()
are used in StdPrs_DeflectionCurve.
But since any object is visualized with the help of tessellation (triangulation or polygons) then you may always see polygon at some degree of zooming.
HTH.
Roman
Sat, 02/26/2005 - 09:52
Hi Roman,
Thank you for your response.
I am using AIS_Shape,but I dont know how to use that functions you said.
How can I use these functions in OCC samples?
Regards,
Akbari
Thu, 03/03/2005 - 18:27
check the AIS_Shape.cdl file for documentation of the SetOwnDeviation* methods
Stephane
http://www.exotk.org