Brief Index      Full Index      Events Index      I.M. Reference

Set_Circular_Center

Functions

void Set_Circular_Center (double x, double y, double z)
 
void Set_Circular_Center_By_Key (HC_KEY key, double x, double y, double z)
 

Detailed Description

Function Documentation

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

See Also
Show_Circular_Center, Insert_Ellipse, Insert_Circular_Arc, Insert_Circular_Chord, Insert_Circular_Wedge, Insert_Elliptical_Arc, Insert_Polygon, Set_Visibility, Set_Edge_Pattern, Set_Edge_Weight, Set_Face_Pattern, Set_Color, Renumber_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().

See Also
Show_Circular_Center, Insert_Ellipse, Insert_Circular_Arc, Insert_Circular_Chord, Insert_Circular_Wedge, Insert_Elliptical_Arc, Insert_Polygon, Set_Visibility, Set_Edge_Pattern, Set_Edge_Weight, Set_Face_Pattern, Set_Color, Renumber_Key.

Brief Index      Full Index      Events Index      I.M. Reference