Template Class BaseVectorEndpoint

Inheritance Relationships

Base Type

Class Documentation

template<typename PointT>
class BaseVectorEndpoint : public lsst::afw::geom::BaseEndpoint<PointT, std::vector<PointT>>

Base class for endpoints with Array = std::vector<Point> where Point has 2 dimensions

Note

Subclasses must provide dataFromPoint, dataFromArray, pointFromData and arrayFromData

Public Types

template<>
using Array = std::vector<PointT>
template<>
using Point = PointT

Public Functions

BaseVectorEndpoint(BaseVectorEndpoint const&)
BaseVectorEndpoint(BaseVectorEndpoint&&)
BaseVectorEndpoint &operator=(BaseVectorEndpoint const&)
BaseVectorEndpoint &operator=(BaseVectorEndpoint&&)
~BaseVectorEndpoint()
int getNPoints(Array const &arr) const

Return the number of points in an array

Protected Functions

BaseVectorEndpoint(int nAxes)

Construct a BaseVectorEndpoint

Parameters
  • [in] nAxes: The number of axes in a point; must be > 0

Exceptions
  • lsst.pex.exceptions.InvalidParameterError: if nAxes <= 0