LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
Public Member Functions | Private Attributes | List of all members
lsst::afw::geom::ellipses::Parametric Class Reference

A functor that returns points on the boundary of the ellipse as a function of a parameter that runs between 0 and 2 pi (but is not angle). More...

#include <Parametric.h>

Public Member Functions

 Parametric (Ellipse const &ellipse)
 
Point2D operator() (double t) const
 

Private Attributes

Point2D _center
 
Extent2D _u
 
Extent2D _v
 

Detailed Description

A functor that returns points on the boundary of the ellipse as a function of a parameter that runs between 0 and 2 pi (but is not angle).

Definition at line 36 of file Parametric.h.

Constructor & Destructor Documentation

lsst::afw::geom::ellipses::Parametric::Parametric ( Ellipse const &  ellipse)

Member Function Documentation

Point2D lsst::afw::geom::ellipses::Parametric::operator() ( double  t) const
inline

Definition at line 41 of file Parametric.h.

41  {
42  return _center + _u*std::cos(t) + _v*std::sin(t);
43  }

Member Data Documentation

Point2D lsst::afw::geom::ellipses::Parametric::_center
private

Definition at line 46 of file Parametric.h.

Extent2D lsst::afw::geom::ellipses::Parametric::_u
private

Definition at line 47 of file Parametric.h.

Extent2D lsst::afw::geom::ellipses::Parametric::_v
private

Definition at line 48 of file Parametric.h.


The documentation for this class was generated from the following file: