![]() |
Display Tolerances |
<<< Rendering Option Settings | Chapters | Facet Mesh Generation >>> |
The rendering functions PK_GEOM_render and PK_TOPOL_render_line allow tolerances to be specified, to be used when rendering curves in a part. These approximation tolerances control the accuracy of the polyline representation of the curves.
The curve approximation tolerances chosen for the rendering functions have an effect on:
The quality and performance of rendering within PK_GEOM_render and PK_TOPOL_render_line are controlled by these options:
Whether |
|
Whether |
|
This is the most important value affecting the quality of the image. It gives an upper bound on the distance from each chord to the curve it is approximating. It also gives an upper bound on the maximum deviation in the image of approximated silhouettes from the true accurate silhouette. Silhouettes are approximated on complex geometry, including B-surfaces, offset surfaces and blends. |
|
Whether |
|
Whether |
|
This is an upper bound on the length of a chord used in the approximation of a curve. |
|
Whether |
|
Whether |
|
This limits the angular error between a curve and a chord in its approximation. It is an upper bound on the sum of the two angles formed between the chord and the curve tangent at each chord end. |
These options control the representation of curves as polylines, both as output through the GO and internally in the rendering functions. They also control the accuracy of silhouettes on general surfaces. If these options are not specified a default angular tolerance is used and a default chordal tolerance chosen if necessary. The defaults chosen by Parasolid are designed to optimise performance and memory usage for normal display purposes.
Both PK_GEOM_render and PK_TOPOL_render_line functions return a Parasolid Report of type PK_REPORT_record_type_3 with a status of PK_REPORT_3_render_curve_tols_c indicating the tolerance values used by Parasolid, whether they are supplied or calculated internally.
The picking function PK_BODY_pick_topols can be used to simulate face, edge and vertex picking from the viewing screen:
See Chapter 111, “Picking Topology”, for further information on selecting entities in this way.
<<< Rendering Option Settings | Chapters | Facet Mesh Generation >>> |