LSSTApplications  18.1.0
LSSTDataManagementBasePackage
Classes | Functions
lsst::geom::detail Namespace Reference

Classes

struct  PointSpecialized
 
struct  PointSpecialized< double >
 
struct  PointSpecialized< int >
 

Functions

template<int N>
double computeExtentNorm (Extent< double, N > const &s)
 
template<int N>
int computeExtentNorm (Extent< int, N > const &s)
 

Function Documentation

◆ computeExtentNorm() [1/2]

template<int N>
double lsst::geom::detail::computeExtentNorm ( Extent< double, N > const &  s)

Definition at line 41 of file Extent.h.

41  {
42  return s.asEigen().norm();
43 }
solver_t * s

◆ computeExtentNorm() [2/2]

template<int N>
int lsst::geom::detail::computeExtentNorm ( Extent< int, N > const &  s)

Definition at line 46 of file Extent.h.

46  {
47  throw LSST_EXCEPT(pex::exceptions::LogicError, "Cannot compute norm of integer extent");
48 #if 1 // make compilers happy in non-void function
49  return -1;
50 #endif
51 }
#define LSST_EXCEPT(type,...)
Create an exception with a given type.
Definition: Exception.h:48