LSSTApplications  10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
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: