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

A shape seen only through its value, with no ray form: what a smooth operation is marched as where it may differ from the plain operation. More...

#include <EBGeometry_SmoothRayForms.hpp>

Public Types

using T = ShapePrecision< S >
 Floating-point precision.
 

Public Member Functions

T signedDistance (const Vec3T< T > &a_point) const noexcept
 The shape's value.
 
BoundingVolumes::AABBT< T > computeBoundingVolume () const noexcept
 The shape's box.
 

Public Attributes

S m_shape
 The shape.
 

Static Public Attributes

static constexpr DistanceQuality distanceQuality = distanceQualityOf<S>
 The quality of its value: the shape's.
 

Detailed Description

template<class S>
struct EBGeometry::RayDetail::MarchedView< S >

A shape seen only through its value, with no ray form: what a smooth operation is marched as where it may differ from the plain operation.

Internal helper; not part of the public API. Its value and box are the shape's.

Template Parameters
SShape type.

Member Function Documentation

◆ computeBoundingVolume()

template<class S >
BoundingVolumes::AABBT< T > EBGeometry::RayDetail::MarchedView< S >::computeBoundingVolume ( ) const
inlinenoexcept

The shape's box.

Returns
The box.

◆ signedDistance()

template<class S >
T EBGeometry::RayDetail::MarchedView< S >::signedDistance ( const Vec3T< T > &  a_point) const
inlinenoexcept

The shape's value.

Parameters
[in]a_pointThe point.
Returns
The value.

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