tlp::Circle< Obj > Struct Template Reference
[Basic]
#include <Circle.h>
Inherits tlp::Vector< Obj, 2 >.
Inheritance diagram for tlp::Circle< Obj >:
[legend]Collaboration diagram for tlp::Circle< Obj >:
[legend]List of all members.
Detailed Description
template<typename Obj>
struct tlp::Circle< Obj >
class for circle
Enables to both create and manipulate a circle
- Author:
- David Auber auber@tulip-software.org
- Version:
- 0.0.1 24/01/2003
Public Member Functions
Public Attributes
Constructor & Destructor Documentation
template<typename Obj> |
tlp::Circle< Obj >::Circle |
( |
Obj |
x, |
|
|
Obj |
y, |
|
|
Obj |
radius |
|
) |
[inline] |
|
Member Function Documentation
template<typename Obj> |
bool tlp::Circle< Obj >::isIncludeIn |
( |
const Circle< Obj > & |
circle |
) |
const |
|
|
Returns true if the circle is include in an other circle, false otherwise. |
|
Merges this circle with another circle; merging operation consists in computing the smallest enclosing circle of the two circle and to store the result in "this". |
template<typename Obj> |
void tlp::Circle< Obj >::translate |
( |
const Vector< Obj, 2 > & |
v |
) |
[inline] |
|
|
Translate "this" by vector v |
Member Data Documentation
|