ParticleAPI 3.0.0
Performant particle system API in C++ for interactive graphics
Classes | Namespaces | Macros | Enumerations
pDomain.h File Reference
#include "Particle/pDeclarations.h"
#include "Particle/pError.h"
#include "Particle/pVec.h"
#include <string>
#include <vector>

Go to the source code of this file.

Classes

class  pDomain
 A representation of a region of space. More...
 
struct  PDUnion
 A CSG union of multiple domains. More...
 
struct  PDPoint
 A single point. More...
 
struct  PDLine
 A line segment. More...
 
struct  PDTriangle
 A Triangle. More...
 
struct  PDRectangle
 Rhombus-shaped planar region. More...
 
struct  PDDisc
 Arbitrarily-oriented disc. More...
 
struct  PDPlane
 Arbitrarily-oriented plane. More...
 
struct  PDBox
 Axis-aligned bounding box (AABB) More...
 
struct  PDCylinder
 Cylinder. More...
 
struct  PDCone
 Cone. More...
 
struct  PDSphere
 Sphere. More...
 
struct  PDBlob
 Gaussian blob. More...
 

Namespaces

namespace  PAPI
 PAPIClasses.h.
 

Macros

#define P_PLANAR_EPSILON   1e-3f
 < How small the dot product must be to declare that a point is in a plane for Within(). More...
 
#define P_N_FLOATS_IN_DOMAIN   30
 

Enumerations

enum  pDomainType_E {
  PDUnion_e , PDPoint_e , PDLine_e , PDTriangle_e ,
  PDRectangle_e , PDDisc_e , PDPlane_e , PDBox_e ,
  PDCylinder_e , PDCone_e , PDSphere_e , PDBlob_e
}
 Enums for the different types of domains that can be stored in a pDomain. More...
 

Macro Definition Documentation

◆ P_N_FLOATS_IN_DOMAIN

#define P_N_FLOATS_IN_DOMAIN   30

◆ P_PLANAR_EPSILON

#define P_PLANAR_EPSILON   1e-3f

< How small the dot product must be to declare that a point is in a plane for Within().