Node: Querying Circles, Next: Circle Intersections, Previous: Circle Operators, Up: Circle Reference
bool is_circular (void) | const function |
Returns true if the Circle is circular, otherwise
false .
Certain transformations, such as shearing and scaling, can cause
Circle c(origin, 3, 90); cout << c.is_circular(); -| 1 Circle d = c; d.shift(2.5); d.scale(2, 3); cout << d.is_circular(); -| 0
|
real get_radius (void )
|
Inline function |
Returns radius .
|
real get_diameter (void )
|
Inline function |
Returns
2 * radius .
|