The Edge helper class The Edge class provides an interface for the EdgePy class for convenient access to the Mesh data structure. More...
#include <Edge.h>
Public Member Functions | |
Edge () | |
Edge (const Edge &f) | |
bool | isBound () const |
void | operator= (const Edge &f) |
void | unbound () |
~Edge () | |
Public Member Functions inherited from MeshCore::MeshGeomEdge | |
void | ClosestPointsToLine (const Base::Vector3f &linePt, const Base::Vector3f &lineDir, Base::Vector3f &rclPnt1, Base::Vector3f &rclPnt2) const |
Get the closest points rclPnt1 and rclPnt2 of the line defined by this edge and the line defined by rclPt and rclDir. More... | |
bool | ContainedByOrIntersectBoundingBox (const Base::BoundBox3f &rclBB) const |
Checks if the edge is inside the bounding box or intersects with it. More... | |
Base::BoundBox3f | GetBoundBox () const |
Returns the bounding box of the edge. More... | |
bool | IntersectBoundingBox (const Base::BoundBox3f &rclBB) const |
Checks if the edge intersects with the given bounding box. More... | |
bool | IntersectWithEdge (const MeshGeomEdge &edge, Base::Vector3f &res) const |
Calculates the intersection point of an edge with this edge. More... | |
bool | IntersectWithLine (const Base::Vector3f &rclPt, const Base::Vector3f &rclDir, Base::Vector3f &rclRes) const |
Calculates the intersection point of the line defined by the base rclPt and the direction rclDir with the edge. More... | |
bool | IntersectWithPlane (const Base::Vector3f &rclPt, const Base::Vector3f &rclDir, Base::Vector3f &rclRes) const |
Calculates the intersection point of the plane defined by the base rclPt and the direction rclDir with the edge. More... | |
bool | IsCollinear (const MeshGeomEdge &edge) const |
Checks if the two edges are collinear. More... | |
bool | IsParallel (const MeshGeomEdge &edge) const |
Checks if the two edges are parallel. More... | |
bool | IsPointOf (const Base::Vector3f &rclPoint, float fDistance) const |
Checks if the point is part of the edge. More... | |
bool | IsProjectionPointOf (const Base::Vector3f &point) const |
Checks if the projection point of point lies on the edge. More... | |
MeshGeomEdge () | |
void | ProjectPointToLine (const Base::Vector3f &rclPoint, Base::Vector3f &rclProj) const |
Calculates the projection of a point onto the line defined by the edge. More... | |
Public Attributes | |
int | Index |
Base::Reference< const MeshObject > | Mesh |
MeshCore::FacetIndex | NIndex [2] |
MeshCore::PointIndex | PIndex [2] |
The Edge helper class The Edge class provides an interface for the EdgePy class for convenient access to the Mesh data structure.
This class should not be used for programming algorithms in C++. Use Mesh Core classes instead!
Edge::Edge | ( | ) |
References MeshCore::FACET_INDEX_MAX, NIndex, PIndex, and MeshCore::POINT_INDEX_MAX.
Edge::~Edge | ( | ) |
bool Mesh::Edge::isBound | ( | ) | const |
void Edge::unbound | ( | ) |
References Index.
int Mesh::Edge::Index |
Referenced by PathScripts.PathJobGui.StockEdit::activate(), Mesh::Facet::getEdge(), operator=(), and unbound().
Base::Reference<const MeshObject> Mesh::Edge::Mesh |
Referenced by Mesh::Facet::getEdge().
MeshCore::FacetIndex Mesh::Edge::NIndex[2] |
Referenced by Edge(), Mesh::Facet::getEdge(), and operator=().
MeshCore::PointIndex Mesh::Edge::PIndex[2] |
Referenced by Edge(), Mesh::Facet::getEdge(), and operator=().