|
ParticleAPI 3.0.0
Performant particle system API in C++ for interactive graphics
|
A single point. More...
#include <pDomain.h>
Public Member Functions | |
| PDPoint (const pVec &p0) | |
| void | PDPoint_Cons (const pVec &p0) |
| bool | Within (const pVec &pos) const |
| Returns true if the point is exactly equal. More... | |
| pVec | Generate () const |
| Returns the point. More... | |
| float | Size () const |
| Returns the size of the domain (length, area, or volume). More... | |
| std::shared_ptr< pDomain > | copy () const |
| virtual bool | Within (const pVec &) const =0 |
| Returns true if the given point is within the domain. More... | |
| virtual pVec | Generate () const =0 |
| Returns a random point in the domain. More... | |
| virtual float | Size () const =0 |
| Returns the size of the domain (length, area, or volume). More... | |
| virtual std::shared_ptr< pDomain > | copy () const =0 |
Public Attributes | |
| pVec | p |
Public Attributes inherited from pDomain | |
| pDomainType_E | Which |
A single point.
Generate always returns this point. Within returns true if the point is exactly equal.
|
inline |
|
inlinevirtual |
Returns the size of the domain (length, area, or volume).
Implements pDomain.
|
inlinevirtual |
Returns true if the point is exactly equal.
Implements pDomain.
| pVec p |