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

A finite repetition: copies of an object on a grid of tiles. More...

#include <EBGeometry_CSGOps.hpp>

Public Member Functions

T period (const size_t a_dir) const noexcept
 Period along an axis.
 
T low (const size_t a_dir) const noexcept
 Tiles in the decreasing direction of an axis.
 
T high (const size_t a_dir) const noexcept
 Tiles in the increasing direction of an axis.
 
T boxLow (const size_t a_dir) const noexcept
 Low corner of the object's box along an axis.
 
T boxHigh (const size_t a_dir) const noexcept
 High corner of the object's box along an axis.
 

Public Attributes

Vec3T< T > m_period
 Tile period along each axis.
 
Vec3T< T > m_low
 Whole tiles in the decreasing direction of each axis.
 
Vec3T< T > m_high
 Whole tiles in the increasing direction of each axis.
 
Vec3T< T > m_boxLow
 Low corner of the repeated object's box (its home copy's).
 
Vec3T< T > m_boxHigh
 High corner of the repeated object's box.
 

Detailed Description

template<class T>
struct EBGeometry::CSGOps::Repetition< T >

A finite repetition: copies of an object on a grid of tiles.

Template Parameters
TFloating-point precision.

Member Function Documentation

◆ boxHigh()

template<class T >
T EBGeometry::CSGOps::Repetition< T >::boxHigh ( const size_t  a_dir) const
inlinenoexcept

High corner of the object's box along an axis.

Parameters
[in]a_dirAxis.
Returns
The coordinate.

◆ boxLow()

template<class T >
T EBGeometry::CSGOps::Repetition< T >::boxLow ( const size_t  a_dir) const
inlinenoexcept

Low corner of the object's box along an axis.

Parameters
[in]a_dirAxis.
Returns
The coordinate.

◆ high()

template<class T >
T EBGeometry::CSGOps::Repetition< T >::high ( const size_t  a_dir) const
inlinenoexcept

Tiles in the increasing direction of an axis.

Parameters
[in]a_dirAxis.
Returns
The count.

◆ low()

template<class T >
T EBGeometry::CSGOps::Repetition< T >::low ( const size_t  a_dir) const
inlinenoexcept

Tiles in the decreasing direction of an axis.

Parameters
[in]a_dirAxis.
Returns
The count.

◆ period()

template<class T >
T EBGeometry::CSGOps::Repetition< T >::period ( const size_t  a_dir) const
inlinenoexcept

Period along an axis.

Parameters
[in]a_dirAxis.
Returns
The period.

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