|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
This is AnGeoMix instead of AnGeo2 because of its
dependance on 3d matrix.
Variables:
- Affine2dC Tf;
-
Transform to unit circle.
- RealT Rmin;
-
- RealT Rmaj;
-
Methods:
- Ellipse2dC()
-
Default constructor, unit circle.
- Ellipse2dC(const Point2dSArray1dC & Pnts)
-
Create an ellipse from an array of points.
- RealT Fit(const Point2dSArray1dC & Pnts)
-
Fit an ellipse to a set of points.
- Point2dC Centre() const
-
Constant access to centre of circle.
- Vector2dC Size() const
-
Get the size of ellipse, Major axis in X, and minor axis in Y.
- Matrix2d2C Rotation() const
-
Get the rotation matrix.
- RealT Angle() const
-
Get major axis of ellipse.
- Point2dC Value(RealT Angle) const
-
Parametric place on ellipse.
- RealT Angle(Point2dC Pnt) const
-
Angle to point.
- Point2dC Projection(const Point2dC & Pnt) const
-
return the closest point on the ellipse to Pnt.
NB. !!!!!! APPROXIMATION ONLY !!!!!!!!
- RealT Distance(const Point2dC & p) const
-
Distance to closest point on perimeter.
NB. !!!!!! APPROXIMATION ONLY !!!!!!!!
|
Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|