|
Rasterfarm-SDK
|
#include <physical.h>
Public Member Functions | |
| Boundary (Node *pContext=nullptr, IntersectionFunction function=nullptr) | |
| Boundary (const SurfaceAttributes &surfaceAttributes, Node *pContext=nullptr, IntersectionFunction function=nullptr) | |
| virtual | ~Boundary () |
| virtual bool | inside (const Vertex3f &point, const Primitive3D::Sphere &sphere)=0 |
| virtual float | distance (const Vertex3f &point)=0 |
| virtual Vertex3f | closestPoint (const Primitive3D::Sphere &sphere)=0 |
| virtual Vertex3f | normal ()=0 |
Public Member Functions inherited from Physical::SurfaceAttributes | |
| SurfaceAttributes () | |
| SurfaceAttributes (float elasticityCoeff, float frictionCoeff, float faceWidth=0.0f) | |
Public Attributes | |
| Node * | pContext |
| IntersectionFunction | function |
Public Attributes inherited from Physical::SurfaceAttributes | |
| float | elasticityCoeff |
| float | frictionCoeff |
| float | width |
Describes some basic physical attributes of a planar-surface.
| Physical::Boundary::Boundary | ( | Node * | pContext = nullptr, |
| IntersectionFunction | function = nullptr ) |
| Physical::Boundary::Boundary | ( | const SurfaceAttributes & | surfaceAttributes, |
| Node * | pContext = nullptr, | ||
| IntersectionFunction | function = nullptr ) |
|
inlinevirtual |
|
pure virtual |
Implemented in Physical::BoundaryPrimitive< PRIMITIVE >.
Implemented in Physical::BoundaryPrimitive< PRIMITIVE >.
|
pure virtual |
Implemented in Physical::BoundaryPrimitive< PRIMITIVE >.
|
pure virtual |
Implemented in Physical::BoundaryPrimitive< PRIMITIVE >.
| IntersectionFunction Physical::Boundary::function |
| Node* Physical::Boundary::pContext |