#include <circle3.h>
Inheritance diagram for TCircle3< T >:
Public Member Functions | |
Constructors and Destructors | |
TCircle3 () throw () | |
Default constructor. | |
TCircle3 (const TCircle3 &circle) throw () | |
Copy constructor. | |
TCircle3 (const TVector3< T > &point, const TVector3< T > &normal, const T &radius) throw () | |
Detailed constructor. | |
virtual | ~TCircle3 () throw () |
Destructor. | |
virtual void | clear () throw () |
Clear method. | |
Assignment | |
void | swap (TCircle3 &circle) throw () |
Swap the contents of two circles. | |
void | set (const TCircle3 &circle) throw () |
Assign from another TCircle3. | |
void | set (const TVector3< T > &point, const TVector3< T > &normal, const T &rad) throw () |
Assign the circle components. | |
TCircle3 & | operator= (const TCircle3 &circle) throw () |
Assignment operator. | |
void | get (TCircle3 &circle) const throw () |
Assign to another TCircle3. | |
void | get (TVector3< T > &point, TVector3< T > &normal, T &rhs) const throw () |
Assign to two variables of type TVector3 and one T value. | |
Predicates | |
bool | operator== (const TCircle3 &circle) const throw () |
Equality operator. | |
bool | operator!= (const TCircle3 &circle) const throw () |
Inequality operator. | |
bool | has (const TVector3< T > &point, bool on_surface=false) const throw () |
Test if a given point is a member of the circle. | |
Debugging and Diagnostics | |
bool | isValid () const throw () |
Test if instance is valid. | |
void | dump (std::ostream &s=std::cout, Size depth=0) const throw () |
Internal state dump. | |
Public Attributes | |
Attributes | |
TVector3< T > | p |
Circle Center. | |
TVector3< T > | n |
Normal vector. | |
T | radius |
Radius. |
|
Default constructor.
This method creates a new TCircle3 object. The three components are initialized to |
|
Copy constructor. Create a new TCircle3 object from another.
|
|
Detailed constructor. Create a new TCircle3 object from the central point, the normal and a radius.
|
|
Destructor. Destructs the TCircle3 object. As there are no dynamic data structures, nothing happens. |
|
Clear method. The values are set to 0. Reimplemented in VIEW::Disc. |
|
Internal state dump. Dump the current internal state of {*this} to the output ostream s with dumping depth depth .
Reimplemented in VIEW::Disc. |
|
Assign to two variables of type TVector3 and one
|
|
Assign to another TCircle3. Assigns the components to another circle.
|
|
Test if a given point is a member of the circle. Optional it can be testet, if the point lies on the surface.
|
|
Test if instance is valid. Always returns true
Reimplemented in VIEW::Disc. |
|
Inequality operator.
|
|
Assignment operator. Assign the components from another circle.
|
|
Equality operator.
|
|
Assign the circle components.
|
|
Assign from another TCircle3.
|
|
Swap the contents of two circles.
|
|
Normal vector. This vector is orthogonal to the circle's plane. |
|
Circle Center. This point describes the center of the circle. |
|
Radius. The radius of the circle. |