FreeCAD C++
Public Member Functions | Public Attributes | List of all members
MeshCore::MeshGeomEdge Class Reference

#include <Mod/Mesh/App/Core/Elements.h>

Detailed Description

The MeshGeomEdge class is geometric counterpart to MeshEdge that holds the geometric data points of an edge.

Public Member Functions

bool ContainedByOrIntersectBoundingBox (const Base::BoundBox3f &rclBB) const
 
Base::BoundBox3f GetBoundBox () const
 
bool IntersectBoundingBox (const Base::BoundBox3f &rclBB) const
 

Public Attributes

Base::Vector3f _aclPoints [2]
 
bool _bBorder
 

Member Function Documentation

◆ ContainedByOrIntersectBoundingBox()

bool MeshCore::MeshGeomEdge::ContainedByOrIntersectBoundingBox ( const Base::BoundBox3f rclBB) const

Checks if the edge is inside the bounding box or intersects with it.

◆ GetBoundBox()

Base::BoundBox3f MeshCore::MeshGeomEdge::GetBoundBox ( ) const

Returns the bounding box of the edge.

◆ IntersectBoundingBox()

bool MeshCore::MeshGeomEdge::IntersectBoundingBox ( const Base::BoundBox3f rclBB) const

Checks if the edge intersects with the given bounding box.

Member Data Documentation

◆ _aclPoints

Base::Vector3f MeshCore::MeshGeomEdge::_aclPoints[2]

Corner points

◆ _bBorder

bool MeshCore::MeshGeomEdge::_bBorder

Set to true if border edge