Functions | |
void | DSet_Circular_Center (double x, double y, double z) |
Similar to Set_Circular_Center(), but operates on double-precision circular geometry. More... | |
void | DSet_Circular_Center_By_Key (HC_KEY key, double x, double y, double z) |
Similar to Set_Circular_Center_By_Key(), but operates on double-precision circular geometry. More... | |
void | 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. More... | |
void | Set_Circular_Center_By_Key (HC_KEY key, double x, double y, double z) |
Similar to Set_Circular_Center(), but operates on a piece of geometry identified by a key. More... | |
Detailed Description
Function Documentation
◆ DSet_Circular_Center()
void DSet_Circular_Center | ( | double | x, |
double | y, | ||
double | z | ||
) |
Similar to Set_Circular_Center(), but operates on double-precision circular geometry.
- Parameters
-
x - X-coordinate of the new centerpoint. y - Y-coordinate of the new centerpoint. z - Z-coordinate of the new centerpoint.
◆ DSet_Circular_Center_By_Key()
void DSet_Circular_Center_By_Key | ( | HC_KEY | key, |
double | x, | ||
double | y, | ||
double | z | ||
) |
Similar to Set_Circular_Center_By_Key(), but operates on double-precision circular geometry.
- Parameters
-
key - Unique identifier for a piece of circular geometry. x - X-coordinate of the new centerpoint. y - Y-coordinate of the new centerpoint. z - Z-coordinate of the new centerpoint.
◆ Set_Circular_Center()
void 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.
- Parameters
-
x - X-coordinate of the new centerpoint. y - Y-coordinate of the new centerpoint. z - Z-coordinate of the new centerpoint.
DETAILS
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.
NOTES
HOOPS will return an error if the supplied center point is significantly different than the calculated center
◆ Set_Circular_Center_By_Key()
void Set_Circular_Center_By_Key | ( | HC_KEY | key, |
double | x, | ||
double | y, | ||
double | z | ||
) |
Similar to Set_Circular_Center(), but operates on a piece of geometry identified by a key.
- Parameters
-
key - Unique identifier for a piece of circular geometry. x - X-coordinate of the new centerpoint. y - Y-coordinate of the new centerpoint. z - Z-coordinate of the new centerpoint.
DETAILS
This function lets the user override the centerpoint without calling Open_Geometry() first. For more details see See Set_Circular_Center().