|
ESyS-Particle
2.3.4
|
abstract base class for edges in mesh (2D or 3D) More...
#include <AEdge.h>


Public Member Functions | |
| AEdge (const Vec3 &, const Vec3 &) | |
| virtual | ~AEdge () |
| double | sep (const Vec3 &) const |
| pair< bool, double > | dist (const Vec3 &) const |
| Vec3 | getBoundingBoxMin () const |
| Vec3 | getBoundingBoxMax () const |
Protected Attributes | |
| Vec3 | m_p0 |
| Vec3 | m_p1 |
abstract base class for edges in mesh (2D or 3D)
|
virtual |
| pair< bool, double > AEdge::dist | ( | const Vec3 & | p | ) | const |
Get perpendicular distance between point and edge. If the closest point on the supportung line is outside the edge, the first component of the return value is "false", otherwise "true"
| p | the point |
References m_p0, m_p1, Vec3::norm2(), and Vec3::unit().
Referenced by EEdge2DInteraction::calcForces(), and EEdgeInteraction::calcForces().


| Vec3 AEdge::getBoundingBoxMax | ( | ) | const |
Get max. corner of axis-aligned bounding box
References cmax(), m_p0, and m_p1.
Referenced by NeighborTable< T >::getParticlesNearEdge().


| Vec3 AEdge::getBoundingBoxMin | ( | ) | const |
Get min. corner of axis-aligned bounding box
References cmin(), m_p0, and m_p1.
Referenced by NeighborTable< T >::getParticlesNearEdge().


| double AEdge::sep | ( | const Vec3 & | p | ) | const |
get distance between point and closest point along edge (incl. corners)
| p | the point |
References m_p0, m_p1, Vec3::norm2(), and Vec3::unit().
Referenced by NeighborTable< T >::getParticlesNearEdge().


|
protected |
Referenced by AEdge(), dist(), Edge2D::Edge2D(), getBoundingBoxMax(), Edge::getBoundingBoxMax(), getBoundingBoxMin(), Edge::getBoundingBoxMin(), Edge::getDirectionFromPoint(), Edge2D::getForceDensity(), Edge2D::getP0(), Edge2D::getPressure(), Edge::move(), Edge::moveNode(), Edge2D::moveNode(), operator<<(), Edge2D::print(), sep(), Edge2D::toGlobal(), and Edge2D::toLocal().
|
protected |
Referenced by AEdge(), dist(), Edge2D::Edge2D(), getBoundingBoxMax(), Edge::getBoundingBoxMax(), getBoundingBoxMin(), Edge::getBoundingBoxMin(), Edge::getDirectionFromPoint(), Edge2D::getForceDensity(), Edge2D::getP1(), Edge2D::getPressure(), Edge::move(), Edge::moveNode(), Edge2D::moveNode(), operator<<(), Edge2D::print(), sep(), Edge2D::toGlobal(), and Edge2D::toLocal().