#include <BALL/MATHS/circle3.h>
List of all members.
Detailed Description
template<typename T>
class BALL::TCircle3< T >
Generic Circle in Three-Dimensional Space.
Definition at line 45 of file circle3.h.
Constructor & Destructor Documentation
Default constructor. This method creates a new TCircle3 object. The three components are initialized to 0
.
Definition at line 59 of file circle3.h.
Copy constructor. Create a new TCircle3 object from another.
- Parameters:
-
Definition at line 70 of file circle3.h.
Detailed constructor. Create a new TCircle3 object from the central point, the normal and a radius.
- Parameters:
-
| point | assigned to the point |
| normal | assigned to the normal |
| radius | assigned tp the radius |
Definition at line 83 of file circle3.h.
Destructor. Destructs the TCircle3 object. As there are no dynamic data structures, nothing happens.
Definition at line 94 of file circle3.h.
Member Function Documentation
template<typename T>
void BALL::TCircle3< T >::dump |
( |
std::ostream & |
s = std::cout , |
|
|
Size |
depth = 0 | |
|
) |
| | const [inline] |
Internal state dump. Dump the current internal state of {*this} to the output ostream s with dumping depth depth .
- Parameters:
-
| s | - output stream where to output the internal state of {*this} |
| depth | - the dumping depth |
Reimplemented in BALL::VIEW::Disc.
Definition at line 251 of file circle3.h.
Assign to two variables of type TVector3 and one T
value.
- Parameters:
-
| point | the center point |
| normal | the circle normal |
| rhs | the radius |
Definition at line 182 of file circle3.h.
Assign to another TCircle3. Assigns the components to another circle.
- Parameters:
-
| circle | the circle to be assigned to |
Definition at line 170 of file circle3.h.
Test if a given point is a member of the circle. Optional it can be testet, if the point lies on the surface.
- Parameters:
-
| point | the point to be tested |
| on_surface | true to test the surface (default = false) |
- Returns:
- bool, true or false
Definition at line 217 of file circle3.h.
Test if instance is valid. Always returns true
- Returns:
- bool true
Reimplemented in BALL::VIEW::Disc.
Definition at line 240 of file circle3.h.
Inequality operator.
- Returns:
- bool, false if all components are equal, true otherwise
Definition at line 206 of file circle3.h.
Assignment operator. Assign the components from another circle.
- Parameters:
-
| circle | the circle to assign from |
Definition at line 157 of file circle3.h.
Equality operator.
- Returns:
- bool, true if all components are equal, false otherwise
Definition at line 198 of file circle3.h.
Assign the circle components.
- Parameters:
-
| point | assigned to the point |
| normal | assigned to the normal |
| rad | assigned to the radius |
Definition at line 146 of file circle3.h.
Assign from another TCircle3.
- Parameters:
-
| circle | the TCirce3 object to assign from |
Definition at line 134 of file circle3.h.
Swap the contents of two circles.
- Parameters:
-
| circle | the circle to swap contents with |
Definition at line 116 of file circle3.h.
Member Data Documentation
Normal vector. This vector is orthogonal to the circle's plane.
Definition at line 282 of file circle3.h.
Circle Center. This point describes the center of the circle.
Definition at line 277 of file circle3.h.
Radius. The radius of the circle.
Definition at line 287 of file circle3.h.