SYNOPSIS
#include <Circle.h>
Inherits Vector< Obj, 2 >.
Public Member Functions
Circle ()
Circle (const Vector< Obj, 2 > &pos, Obj radius)
Circle (const Circle &c)
Circle (Obj x, Obj y, Obj radius)
void translate (const Vector< Obj, 2 > &v)
Circle< Obj > & merge (const Circle< Obj > &c)
bool isIncludeIn (const Circle< Obj > &circle) const
Public Attributes
Obj radius
Detailed Description
template<typename Obj> struct tlp::Circle< Obj >
class for circleEnables to both create and manipulate a circle
Author:
- David Auber [email protected]
Version:
- 0.0.1 24/01/2003
Constructor & Destructor Documentation
template<typename Obj > tlp::Circle< Obj >::Circle () [inline]
template<typename Obj > tlp::Circle< Obj >::Circle (const Vector< Obj, 2 > & pos, Obj radius) [inline]
template<typename Obj > tlp::Circle< Obj >::Circle (const Circle< Obj > & c) [inline]
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) constReturns true if the circle is include in an other circle, false otherwise.
template<typename Obj > Circle<Obj>& tlp::Circle< Obj >::merge (const Circle< Obj > & c)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
template<typename Obj > Obj tlp::Circle< Obj >::radiusRadius of the circle
Author
Generated automatically by Doxygen for Tulip Graph Library from the source code.