|
lsst.afw
13.0-39-g3deb52d
|
An endpoint for Point<double, N> More...
#include <Endpoint.h>
Public Member Functions | |
| PointEndpoint (PointEndpoint const &)=default | |
| PointEndpoint (PointEndpoint &&)=default | |
| PointEndpoint & | operator= (PointEndpoint const &)=default |
| PointEndpoint & | operator= (PointEndpoint &&)=default |
| PointEndpoint () | |
| Construct a PointEndpoint; template parameter N specifies the number of axes. More... | |
| PointEndpoint (int nAxes) | |
| This constructor is used by Transform; nAxes must equal template parameter N. More... | |
| virtual | ~PointEndpoint () |
| virtual void | normalizeFrame (std::shared_ptr< ast::Frame > framePtr) const override |
| Check that framePtr points to a Frame, not a subclass. More... | |
Public Member Functions inherited from lsst::afw::geom::BaseVectorEndpoint< Point< double, N > > | |
| BaseVectorEndpoint (BaseVectorEndpoint const &)=default | |
| BaseVectorEndpoint (BaseVectorEndpoint &&)=default | |
| BaseVectorEndpoint & | operator= (BaseVectorEndpoint const &)=default |
| BaseVectorEndpoint & | operator= (BaseVectorEndpoint &&)=default |
| virtual | ~BaseVectorEndpoint () |
| virtual int | getNPoints (Array const &arr) const override |
| Return the number of points in an array. More... | |
| virtual std::vector< double > | dataFromPoint (Point const &point) const override |
| Get raw data from a single point. More... | |
| virtual ndarray::Array< double, 2, 2 > | dataFromArray (Array const &arr) const override |
| Get raw data from an array of points. More... | |
| virtual Point | pointFromData (std::vector< double > const &data) const override |
| Get a single point from raw data. More... | |
| virtual Array | arrayFromData (ndarray::Array< double, 2, 2 > const &data) const override |
| Get an array of points from raw data. More... | |
Public Member Functions inherited from lsst::afw::geom::BaseEndpoint< Point< double, N >, std::vector< Point< double, N > > > | |
| BaseEndpoint (BaseEndpoint const &)=default | |
| BaseEndpoint (BaseEndpoint &&)=default | |
| BaseEndpoint & | operator= (BaseEndpoint const &)=default |
| BaseEndpoint & | operator= (BaseEndpoint &&)=default |
| virtual | ~BaseEndpoint () |
| int | getNAxes () const |
| virtual std::shared_ptr < ast::Frame > | makeFrame () const |
| Create a Frame that can be used with this end point in a Transform. More... | |
Additional Inherited Members | |
Public Types inherited from lsst::afw::geom::BaseVectorEndpoint< Point< double, N > > | |
| using | Array = std::vector< Point< double, N > > |
| using | Point = Point< double, N > |
Public Types inherited from lsst::afw::geom::BaseEndpoint< Point< double, N >, std::vector< Point< double, N > > > | |
| using | Point = Point< double, N > |
| using | Array = std::vector< Point< double, N > > |
Protected Member Functions inherited from lsst::afw::geom::BaseVectorEndpoint< Point< double, N > > | |
| BaseVectorEndpoint (int nAxes) | |
| Construct a BaseVectorEndpoint. More... | |
Protected Member Functions inherited from lsst::afw::geom::BaseEndpoint< Point< double, N >, std::vector< Point< double, N > > > | |
| BaseEndpoint (int nAxes) | |
| Construct a BaseEndpoint. More... | |
| void | _assertNAxes (int nAxes) const |
| int | _getNAxes (ndarray::Array< double, 2, 2 > const &data) const |
| int | _getNAxes (ndarray::Array< double, 1, 1 > const &data) const |
| int | _getNAxes (std::vector< double > const &data) const |
| int | _getNPoints (ndarray::Array< double, 2, 2 > const &data) const |
An endpoint for Point<double, N>
| N | number of axes; the only allowed values are 2 or 3 |
Definition at line 234 of file Endpoint.h.
|
default |
|
default |
|
inlineexplicit |
Construct a PointEndpoint; template parameter N specifies the number of axes.
Definition at line 242 of file Endpoint.h.
|
explicit |
This constructor is used by Transform; nAxes must equal template parameter N.
|
inlinevirtual |
Definition at line 247 of file Endpoint.h.
|
overridevirtual |
Check that framePtr points to a Frame, not a subclass.
Subclasses are forbidden because Point<double, N> is assumed to be cartesian and subclasses of Frame are not (e.g. SkyFrame, SpecFrame and TimeFrame). Note that SpecFrame and TimeFrame are 1-dimensional so they cannot be used in any case. A CmpFrame could be cartesian, but we play it safe and reject these (however, a cartesian CmpFrame ought to simplify to a Frame).
Reimplemented from lsst::afw::geom::BaseEndpoint< Point< double, N >, std::vector< Point< double, N > > >.
|
default |
|
default |
1.8.5