|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Variables:
- Point2dC origin;
-
Origin an end point of the rectangle.
- Point2dC end;
-
Origin an end point of the rectangle.
Methods:
- PRectangle2dC()
-
Default constructor.
Creates an undefined rectangle.
- PRectangle2dC(Point2dC org,Point2dC nend)
-
Constructor.
- PRectangle2dC(Point2dC org,RealT xs,RealT ys)
-
Constructor.
- PRectangle2dC(RealT sx,RealT ex,RealT sy,RealT ey)
-
Constructor.
- Point2dC & Origin()
-
Origin of rectangle.
- const Point2dC & Origin() const
-
Origin of rectangle.
- Point2dC & End()
-
Origin of rectangle.
- const Point2dC & End() const
-
Origin of rectangle.
- RealT Left() const
-
Left side.
- RealT Right() const
-
Left side.
- RealT Top() const
-
Left side.
- RealT Bottom() const
-
Left side.
- BooleanT Contains(const Point2dC & pnt)
-
Is point within rectangle.
- RealT SizeX() const
-
Size of the X side of the rectangle.
- RealT SizeY() const
-
Size of the Y side of the rectangle.
- Vector2dC Size() const
-
Size of rectangle.
- void Involve(const Point2dC & pnt)
-
Extended rectangle such that it contains point 'pnt'.
- void Involve(const PRectangle2dC & rect)
-
Extended rectangle such that it contains all points in 'rect'.
- BooleanT operator==(const PRectangle2dC & oth)
-
Compair.
(Does make sense when checking for changes.)
- BooleanT operator!=(const PRectangle2dC & oth)
-
Compair.
(Does make sense when checking for changes.)
|
Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|