|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Parent Classes:
Methods:
- PCurve2dC()
-
Default Constuctor.
Creates an invalid handle.
- PCurve2dC(const PCurve2dC & oth)
-
Copy constructor.
- PCurve2dC(PCurve2dBodyC & oth)
-
Body constructor.
- Point2dC Point(RealT p) const
-
Localion of curve at p
- Vector2dC Tangent(RealT p) const
-
Tangent to curve at p
- Vector2dC UnitTangent(RealT p) const
-
Tangent to curve at p
- RealT Closest(Point2dC Pnt) const
-
Parametric value of closest point on curve to Pnt.
- void GetLimits(RealT & Low,RealT & High,const IndexRectangleC & Rect) const
-
Get limits of paramiter if shape is within Rectangle 'Rect'.
- IntT CodeSize() const
-
Estimated bits to code primitive.
- RealT Fit(const Point2dSArray1dC & Pnts)
-
Fit the current curve to the pnts.
- BooleanT WriteGF(ostream & Out) const
-
Write GF file.
- BooleanT WriteGFHeader(ostream & Out) const
-
Write GF file.
- void Print(ostream & out) const
-
Print to ostream.
- BooleanT IsValid() const
-
Check its a valid handle.
- BooleanT IsValidObject() const
-
Check its a valid handle, and that the object is pointed to is also valid.
- RCHandleC<PCurve2dBodyC> & operator=(const RCHandleC<PCurve2dBodyC> & oth)
-
Assignment.
- BooleanT operator==(const RCHandleC<PCurve2dBodyC> & oth) const
-
Comparison operator.
- BooleanT operator!=(const RCHandleC<PCurve2dBodyC> & oth) const
-
Comparison operator.
- UIntT Hash() const
-
Hash function.x
- BooleanT IsConst() const
-
Is object constant ?
- BooleanT IsNotConst() const
-
Is object not constant ?
- void SetConst(void) const
-
Lock the object.
This is const as a convience though it actual modified the
object, often object you wish to ensure are constant already
have const set.
protected:
- void Invalidate()
-
Turn this into an invalid handle.
- PCurve2dBodyC & Body()
-
Direct access to body.
- const PCurve2dBodyC & Body() const
-
Constant access to body.
|
Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|