MeshCore::MeshGeomEdge Class Reference

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

#include <Elements.h>

List of all members.

Public Member Functions

bool ContainedByOrIntersectBoundingBox (const Base::BoundBox3f &rclBB) const
 Checks if the edge is inside the bounding box or intersects with it.
Base::BoundBox3f GetBoundBox () const
 Returns the bounding box of the edge.
bool IntersectBoundingBox (const Base::BoundBox3f &rclBB) const
 Checks if the edge intersects with the given bounding box.
 MeshGeomEdge (void)

Public Attributes

Base::Vector3f _aclPoints [2]
 Corner points.
bool _bBorder
 Set to true if border edge.

Detailed Description

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

Definition at line 137 of file Elements.h.


Constructor & Destructor Documentation

MeshCore::MeshGeomEdge::MeshGeomEdge ( void   )  [inline]

Definition at line 140 of file Elements.h.


Member Function Documentation

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

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

Definition at line 163 of file Elements.cpp.

References _aclPoints, GetBoundBox(), IntersectBoundingBox(), and Base::BoundBox3< _Precision >::IsInBox().

Base::BoundBox3f MeshGeomEdge::GetBoundBox (  )  const

Returns the bounding box of the edge.

Definition at line 187 of file Elements.cpp.

References _aclPoints.

Referenced by ContainedByOrIntersectBoundingBox().

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

Member Data Documentation

Set to true if border edge.

Definition at line 151 of file Elements.h.

Referenced by MeshCore::MeshKernel::GetEdges().


The documentation for this class was generated from the following files:

Generated on Wed Nov 23 19:02:24 2011 for FreeCAD by  doxygen 1.6.1