PhysicsBasedAnimationToolkit 0.0.10
Cross-platform C++20 library of algorithms and data structures commonly used in computer graphics research on physically-based simulation.
Loading...
Searching...
No Matches
BinaryNode.h File Reference

This file defines binary nodes for a SDF compositions. More...

#include "pbat/HostDevice.h"
#include "pbat/common/Concepts.h"
#include <algorithm>
#include <cmath>

Go to the source code of this file.

Classes

struct  pbat::geometry::sdf::BinaryNode
 Base struct for all binary nodes. More...
 
struct  pbat::geometry::sdf::Union< TScalar >
 Union operation. More...
 
struct  pbat::geometry::sdf::Difference< TScalar >
 Difference operation. More...
 
struct  pbat::geometry::sdf::Intersection< TScalar >
 Intersection operation. More...
 
struct  pbat::geometry::sdf::ExclusiveOr< TScalar >
 Exclusive or operation. More...
 
struct  pbat::geometry::sdf::SmoothUnion< TScalar >
 Smooth union operation. More...
 
struct  pbat::geometry::sdf::SmoothDifference< TScalar >
 Smooth difference operation. More...
 
struct  pbat::geometry::sdf::SmoothIntersection< TScalar >
 Smooth intersection operation. More...
 

Namespaces

namespace  pbat
 The main namespace of the library.
 
namespace  pbat::geometry
 Geometric queries, quantities and data structures.
 
namespace  pbat::geometry::sdf
 Namespace for signed distance functions (SDFs) and related operations.
 

Detailed Description

This file defines binary nodes for a SDF compositions.

Author
Quoc-Minh Ton-That (tonth.nosp@m.at.q.nosp@m.uocmi.nosp@m.nh@g.nosp@m.mail..nosp@m.com)
Version
0.1
Date
2025-09-16

Credits go to https://iquilezles.org/articles/distfunctions/, thank you Inigo Quilez!