EBGeometry
Compact, header-only C++ library for fast evaluation of signed distance functions
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
EBGeometry::Fused::AffineOp< T > Struct Template Reference

An affine map (translation, rotation, scaling, reflection, or a composition of them): the operand's value at the mapped point, times a value scale. More...

#include <EBGeometry_Fused.hpp>

Public Member Functions

template<class O >
T evaluate (const O &a_operands, const Vec3T< T > &a_point) const noexcept
 The value.
 
template<class O >
BoundingVolumes::AABBT< T > box (const O &a_operands) const
 The box: the operand's, mapped by the inverse.
 

Static Public Member Functions

template<class C >
static constexpr DistanceQuality quality () noexcept
 Distance quality: the operand's.
 

Public Attributes

Affine3T< T > m_map
 The map from a query point to the point the operand sees.
 
Affine3T< T > m_inverse
 Its inverse, which maps the operand's box.
 
T m_valueScale
 Value scale: |s| for a scaling by s, which keeps a distance a distance.
 

Detailed Description

template<class T>
struct EBGeometry::Fused::AffineOp< T >

An affine map (translation, rotation, scaling, reflection, or a composition of them): the operand's value at the mapped point, times a value scale.

Template Parameters
TFloating-point precision.

Member Function Documentation

◆ box()

template<class T >
template<class O >
BoundingVolumes::AABBT< T > EBGeometry::Fused::AffineOp< T >::box ( const O &  a_operands) const
inline

The box: the operand's, mapped by the inverse.

Template Parameters
OOperands type.
Parameters
[in]a_operandsOperands.
Returns
The box.

◆ evaluate()

template<class T >
template<class O >
T EBGeometry::Fused::AffineOp< T >::evaluate ( const O &  a_operands,
const Vec3T< T > &  a_point 
) const
inlinenoexcept

The value.

Template Parameters
OOperands type.
Parameters
[in]a_operandsOperands.
[in]a_pointPoint.
Returns
The value.

◆ quality()

template<class T >
template<class C >
static constexpr DistanceQuality EBGeometry::Fused::AffineOp< T >::quality ( )
inlinestaticconstexprnoexcept

Distance quality: the operand's.

Template Parameters
COperand type.
Returns
The quality.

The documentation for this struct was generated from the following file: