LSST Applications g0fba68d861+bb7a7cfa1f,g1ec0fe41b4+f536777771,g1fd858c14a+470a99fdf4,g216c3ac8a7+0d4d80193f,g35bb328faa+fcb1d3bbc8,g4d2262a081+23bd310d1b,g53246c7159+fcb1d3bbc8,g56a49b3a55+369644a549,g5a012ec0e7+3632fc3ff3,g60b5630c4e+3bfb9058a5,g67b6fd64d1+ed4b5058f4,g78460c75b0+2f9a1b4bcd,g786e29fd12+cf7ec2a62a,g8180f54f50+60bd39f3b6,g8352419a5c+fcb1d3bbc8,g87d29937c9+57a68d035f,g8852436030+4699110379,g89139ef638+ed4b5058f4,g9125e01d80+fcb1d3bbc8,g94187f82dc+3bfb9058a5,g989de1cb63+ed4b5058f4,g9ccd5d7f00+b7cae620c0,g9d31334357+3bfb9058a5,g9f33ca652e+00883ace41,gabe3b4be73+1e0a283bba,gabf8522325+fa80ff7197,gb1101e3267+27b24065a3,gb58c049af0+f03b321e39,gb89ab40317+ed4b5058f4,gc0af124501+708fe67c54,gcf25f946ba+4699110379,gd6cbbdb0b4+bb83cc51f8,gde0f65d7ad+acd5afb0eb,ge1ad929117+3bfb9058a5,ge278dab8ac+d65b3c2b70,ge410e46f29+ed4b5058f4,gf5e32f922b+fcb1d3bbc8,gf67bdafdda+ed4b5058f4,w.2025.17
LSST Data Management Base Package
Loading...
Searching...
No Matches
_ellipses::Ellipse::Convolution Class Referencefinal

A temporary-only expression object for ellipse convolution. More...

#include <Convolution.h>

Public Types

using DerivativeMatrix = Eigen::Matrix<double, 5, 5>
 Matrix type for derivative with respect to input ellipse parameters.
 

Public Member Functions

 Convolution (Ellipse &self, Ellipse const &other)
 Standard constructor.
 
std::shared_ptr< Ellipse > copy () const
 Return a new convolved ellipse.
 
void inPlace ()
 Convolve the ellipse in-place.
 
DerivativeMatrix d () const
 Return the derivative of convolved ellipse with respect to self.
 

Public Attributes

Ellipse & self
 
Ellipse const & other
 

Detailed Description

A temporary-only expression object for ellipse convolution.

Definition at line 70 of file Convolution.h.

Member Typedef Documentation

◆ DerivativeMatrix

using _ellipses::Ellipse::Convolution::DerivativeMatrix = Eigen::Matrix<double, 5, 5>

Matrix type for derivative with respect to input ellipse parameters.

Definition at line 73 of file Convolution.h.

Constructor & Destructor Documentation

◆ Convolution()

_ellipses::Ellipse::Convolution::Convolution ( Ellipse & self,
Ellipse const & other )
inline

Standard constructor.

Definition at line 76 of file Convolution.h.

Member Function Documentation

◆ copy()

std::shared_ptr< Ellipse > _ellipses::Ellipse::Convolution::copy ( ) const

Return a new convolved ellipse.

Definition at line 58 of file Convolution.cc.

58 {
60 self.getCore().convolve(other.getCore()).copy(),
61 lsst::geom::Point2D(self.getCenter() + lsst::geom::Extent2D(other.getCenter())));
62}
T make_shared(T... args)
Extent< double, 2 > Extent2D
Definition Extent.h:400
Point< double, 2 > Point2D
Definition Point.h:324

◆ d()

Ellipse::Convolution::DerivativeMatrix _ellipses::Ellipse::Convolution::d ( ) const

Return the derivative of convolved ellipse with respect to self.

Definition at line 69 of file Convolution.cc.

69 {
70 Ellipse::Convolution::DerivativeMatrix result = Ellipse::Convolution::DerivativeMatrix::Identity();
71 result.block<3, 3>(0, 0) = self.getCore().convolve(other.getCore()).d();
72 return result;
73}
Eigen::Matrix< double, 5, 5 > DerivativeMatrix
Matrix type for derivative with respect to input ellipse parameters.
Definition Convolution.h:73

◆ inPlace()

void _ellipses::Ellipse::Convolution::inPlace ( )

Convolve the ellipse in-place.

Definition at line 64 of file Convolution.cc.

64 {
65 self.getCore().convolve(other.getCore()).inPlace();
66 self.setCenter(self.getCenter() + lsst::geom::Extent2D(other.getCenter()));
67}

Member Data Documentation

◆ other

Ellipse const& _ellipses::Ellipse::Convolution::other

Definition at line 88 of file Convolution.h.

◆ self

Ellipse& _ellipses::Ellipse::Convolution::self

Definition at line 87 of file Convolution.h.


The documentation for this class was generated from the following files: