Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - Math - Geometry - 2D - Curve2dC
 

  PUBLIC
Curve2dC::Curve2dC(void)
Curve2dC::Curve2dC(const Curve2dC &)
Curve2dC::Curve2dC(Curve2dBodyC &)
Curve2dC::Point(RealT) const
Curve2dC::Tangent(RealT) const
Curve2dC::UnitTangent(RealT) const
Curve2dC::Closest(Point2dC) const
Curve2dC::GetLimits(RealT &,RealT &,const IndexRange2dC &) const
Curve2dC::CodeSize(void) const
Curve2dC::Fit(const SArray1dC &)
Curve2dC::WriteGF(ostream &) const
Curve2dC::WriteGFHeader(ostream &) const
Curve2dC::Print(ostream &) const
RCHandleC::operator =(const RCHandleC &)
RCHandleC::DeepCopy(UIntT) const
RCHandleC::operator ==(const RCHandleC &) const
RCHandleC::operator !=(const RCHandleC &) const
RCHandleC::Hash(void) const
RCHandleC::IsValid(void) const
RCHandleC::Invalidate(void)
RCHandleC::IsHandleType(const DT &) const
RCHandleC::CheckHandleType(const DT &) const
RCHandleC::Body(void)
RCHandleC::Body(void) const
RCHandleC::References(void) const
RCHandleC::operator <<(ostream &,const RCHandleC &)
RCHandleC::operator >>(istream &,RCHandleC &)

   Curve2dC   
 
2d Parametric curve
 
include "Ravl/Curve2d.hh"
Created:26/08/1998 
Source file:Ravl/Math/Geometry/Euclidean/2D/Curve2d.hh
User Level:Normal
Library:RavlMath
In Scope:RavlN

Parent Classes: Methods:
Curve2dC()
Default Constuctor.
Creates an invalid handle.

Curve2dC(const Curve2dC & oth)
Copy constructor.

Curve2dC(Curve2dBodyC & 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 IndexRange2dC & Rect) const
Get limits of paramiter if shape is within Rectangle 'Rect'.

IntT CodeSize() const
Estimated bits to code primitive.

RealT Fit(const SArray1dC<Point2dC> & Pnts)
Fit the current curve to the pnts.

bool WriteGF(ostream & Out) const
Write GF file.

bool WriteGFHeader(ostream & Out) const
Write GF file.

void Print(ostream & out) const
Print to ostream.

#include "Ravl/RefCounter.hh"
const RCHandleC<Curve2dBodyC> & operator =(const RCHandleC<Curve2dBodyC> & oth)
Assign handle.

RCHandleC<Curve2dBodyC> DeepCopy(UIntT levels = ((UIntT))) const
Do a deep copy of the object.

bool operator ==(const RCHandleC<Curve2dBodyC> & oth) const
Are handles to the same object ?

bool operator !=(const RCHandleC<Curve2dBodyC> & oth) const
Are handles to different objects ?

UIntT Hash() const
Default hash function.
This hashes on the address of the body.

bool IsValid() const
Test if this is a valid handle.

void Invalidate()
Invalidate this handle.
Unattaches the body from the handle.

bool IsHandleType(const DT &) const
Is handle of given type ?

void CheckHandleType(const DT & dummy) const
Check handle type. Throw an expception if not.

Curve2dBodyC & Body()
Access body of object.

const Curve2dBodyC & Body() const
Constant access to body of object.

UIntT References() const
Find the number of references to the body of this object.

ostream & operator <<(ostream & strm,const RCHandleC<Curve2dBodyC> & obj)

istream & operator >>(istream & strm,RCHandleC<Curve2dBodyC> & obj)


Maintainer:Charles Galambos, Created: 26/08/1998, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002