|
EBGeometry
Compact, header-only C++ library for fast evaluation of signed distance functions
|
A level set of a shape, {f <= c}, or an annulus of it, {f <= c} less {f < -c}: a shape whose ray form traces it from the shape's closed-form level sets. More...
#include <EBGeometry_OffsetRayForms.hpp>
Public Types | |
| using | T = ShapePrecision< S > |
| Floating-point precision. | |
Public Member Functions | |
| T | signedDistance (const Vec3T< T > &a_point) const noexcept |
| The value: f - c, or |f| - c. | |
| BoundingVolumes::AABBT< T > | computeBoundingVolume () const noexcept |
| The shape's box, grown by the level. | |
Public Attributes | |
| S | m_shape |
| The shape. | |
| T | m_level |
| The level c: the offset, or the annulus's half-thickness. | |
| bool | m_annulus |
| Whether this is an annulus. | |
Static Public Attributes | |
| static constexpr DistanceQuality | distanceQuality = distanceQualityOf<S> |
| The quality of its value: the operand's. | |
A level set of a shape, {f <= c}, or an annulus of it, {f <= c} less {f < -c}: a shape whose ray form traces it from the shape's closed-form level sets.
Internal helper; not part of the public API. What a fused Offset or Annular, and a tape's Leaf clause of one, trace. Its value is the operand's shifted (or folded, for an annulus) as the operation's.
| S | Shape type, with a LevelForm. |
|
inlinenoexcept |
The shape's box, grown by the level.
|
inlinenoexcept |
The value: f - c, or |f| - c.
| [in] | a_point | The point. |