w2img::Ellipse Class Reference

List of all members.

Detailed Description

An Ellipse represented using its center, semi-major axes and orientation.

Author:
lakshman
Version:
Id
w2img_Ellipse.h,v 1.2 2009/06/02 20:17:56 lakshman Exp


Public Member Functions

 Ellipse ()
 For STL use only.
 Ellipse (float cxin, float cyin, float ain, float bin, float phiin)
 Construct with parameters (center, semi-major axes, orientation).
bool contains (float x, float y)
 Does this ellipse contain this point? Points exactly on the boundary are considered inside.
float getCenterX () const
float getCenterY () const
float getRadiusX () const
float getRadiusY () const
float getOrientation () const

Static Public Member Functions

static Ellipse fitRegion (float cx, float cy, float s11, float s12, float s22)
 pass in centers and variances.


Constructor & Destructor Documentation

w2img::Ellipse::Ellipse (  )  [inline]

For STL use only.

w2img::Ellipse::Ellipse ( float  cxin,
float  cyin,
float  ain,
float  bin,
float  phiin 
) [inline]

Construct with parameters (center, semi-major axes, orientation).


Member Function Documentation

bool w2img::Ellipse::contains ( float  x,
float  y 
)

Does this ellipse contain this point? Points exactly on the boundary are considered inside.

static Ellipse w2img::Ellipse::fitRegion ( float  cx,
float  cy,
float  s11,
float  s12,
float  s22 
) [static]

pass in centers and variances.

See also:
Cluster

float w2img::Ellipse::getCenterX (  )  const [inline]

float w2img::Ellipse::getCenterY (  )  const [inline]

float w2img::Ellipse::getOrientation (  )  const [inline]

float w2img::Ellipse::getRadiusX (  )  const [inline]

float w2img::Ellipse::getRadiusY (  )  const [inline]


Generated on Fri May 4 13:40:23 2012 for WDSS-IIw2algs by  doxygen 1.4.7