User Documentation
Centre for Vision, Speech & Signal Processing
DEVELOP IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
IntRectangleTPC::IntRectangleTPC(void)
IntRectangleTPC::IntRectangleTPC(const IntRectangleTPC &)
IntRectangleTPC::IntRectangleTPC(const Vector2dC &,const Index2dC &,const Index2dC &,const Index2dC &,const Index2dC &)
IntRectangleTPC::IntRectangleTPC(const Vector2dC &,const Index2dC)
IntRectangleTPC::Set(const Vector2dC &,const Index2dC &,const Index2dC &,const Index2dC &,const Index2dC &)
IntRectangleTPC::Direction(void) const
IntRectangleTPC::operator[](IndexT) const
IntRectangleTPC
 
Integer 2-D rectangle determined by touch points
 
include "amma/IRectTP.hh"
User Level:Default
Library:Mcg2
Example:exBnd.cc
Section:Geometry.2-D
In Scope:std

Enumerated types:

enum anon_enum?18 { N = 4 } ;
four points

Typedefs:
Variables:
Methods:
IntRectangleTPC()
Creates the empty rectangle in the origin of coordinate system.

IntRectangleTPC(const IntRectangleTPC & rect)
Copy constructor.

IntRectangleTPC(const Vector2dC & direction,const Index2dC & a,const Index2dC & b,const Index2dC & c,const Index2dC & d)
Creates the rectangle. The vector 'direction' has its origin in the point 'a'.

IntRectangleTPC(const Vector2dC & direction,const Index2dC pt[])
Creates the rectangle. The vector 'direction' has its origin in the point 'a'.

void Set(const Vector2dC & direction,const Index2dC & a,const Index2dC & b,const Index2dC & c,const Index2dC & d)
Sets the new value of the rectangle. The vector 'direction' has its origin in the point 'a'.

const Vector2dC & Direction() const
Returns the direction of the first side of the rectangle.

const Index2dC & operator[](IndexT i) const
Returns the touching point with the index 'i'. The first point has the index 0;


Programmer:Radek Marik, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001