HC_Set_Circular_Center
-
void
HC_Set_Circular_Center(double x, double y, double z) - void HC_Set_Circular_Center(double x, double y, double z)
Allows the user to override the calculated center point for circle-based geometries such as circles, circular wedges, arcs, and chords.
By default HOOPS calculates the centerpoint when any circle-based geometry is inserted into the HOOPS database. Rounding errors in this calculation can cause arcs based on the same center to line up incorrectly at certain zoom factors. Using this function on these geometries overrides the calculated center and consequently forces circular geometry to line up correctly.
HOOPS will return an error if the supplied center point is significantly different than the calculated center
HC_Show_Circular_Center, HC_Insert_Ellipse, HC_Insert_Circular_Arc, HC_Insert_Circular_Chord, HC_Insert_Circular_Wedge, HC_Insert_Elliptical_Arc, HC_Insert_Polygon, HC_Set_Visibility, HC_Set_Edge_Pattern, HC_Set_Edge_Weight, HC_Set_Face_Pattern, HC_Set_Color, HC_Renumber_Key.Parameters
x: X-coordinate of the new centerpoint.
y: Y-coordinate of the new centerpoint.
z: - Z-coordinate of the new centerpoint.