LSSTApplications  8.0.0.0+107,8.0.0.1+13,9.1+18,9.2,master-g084aeec0a4,master-g0aced2eed8+6,master-g15627eb03c,master-g28afc54ef9,master-g3391ba5ea0,master-g3d0fb8ae5f,master-g4432ae2e89+36,master-g5c3c32f3ec+17,master-g60f1e072bb+1,master-g6a3ac32d1b,master-g76a88a4307+1,master-g7bce1f4e06+57,master-g8ff4092549+31,master-g98e65bf68e,master-ga6b77976b1+53,master-gae20e2b580+3,master-gb584cd3397+53,master-gc5448b162b+1,master-gc54cf9771d,master-gc69578ece6+1,master-gcbf758c456+22,master-gcec1da163f+63,master-gcf15f11bcc,master-gd167108223,master-gf44c96c709
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: