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
TypeDefs.h File Reference

This file defines common type definitions used in the SDF module. More...

#include "pbat/common/Concepts.h"
#include "pbat/math/linalg/mini/Matrix.h"

Go to the source code of this file.

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.
 

Typedefs

template<common::CArithmetic TScalar>
using pbat::geometry::sdf::Vec2 = math::linalg::mini::SVector<TScalar, 2>
 2D vector type
 
template<common::CArithmetic TScalar>
using pbat::geometry::sdf::Vec3 = math::linalg::mini::SVector<TScalar, 3>
 3D vector type
 
template<common::CArithmetic TScalar>
using pbat::geometry::sdf::Vec4 = math::linalg::mini::SVector<TScalar, 4>
 4D vector type
 
template<common::CArithmetic TScalar>
using pbat::geometry::sdf::Mat2 = math::linalg::mini::SMatrix<TScalar, 2, 2>
 2x2 matrix type
 
template<common::CArithmetic TScalar>
using pbat::geometry::sdf::Mat3 = math::linalg::mini::SMatrix<TScalar, 3, 3>
 3x3 matrix type
 
template<common::CArithmetic TScalar>
using pbat::geometry::sdf::Zero2 = math::linalg::mini::Zeros<TScalar, 2, 1>
 2D zero vector type
 
template<common::CArithmetic TScalar>
using pbat::geometry::sdf::Zero3 = math::linalg::mini::Zeros<TScalar, 3, 1>
 3D zero vector type
 

Detailed Description

This file defines common type definitions used in the SDF module.

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