SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
10 #ifndef smtk_session_polygon_internal_SweepEvent_h
11 #define smtk_session_polygon_internal_SweepEvent_h
13 #include "smtk/session/polygon/Operation.h"
14 #include "smtk/session/polygon/internal/Fragment.h"
16 #include "smtk/model/Edge.h"
50 SweepEventType m_type;
51 internal::Point m_posn;
57 SweepEventType type()
const {
return m_type; }
58 const internal::Point& point()
const {
return m_posn; }
63 const internal::Point& p0,
64 const internal::Point& p1,
71 const internal::Point& crossPos,
75 static bool RemoveCrossing(
SweepEventSet& queue, FragmentId fragId0, FragmentId fragId1);
82 #endif // smtk_session_polygon_internal_SweepEvent_h
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition: doc.h:33
T value_type
Each value used to identify a set is of this type.
Definition: UnionFind.h:57
std::set< SweepEvent > SweepEventSet
Sweep events ordered by their left-, lower-most point coordinates.
Definition: Fragment.h:34
A entityref subclass that provides methods specific to 1-d edge cells.
Definition: Edge.h:32
Structure to hold data for a sweepline event (segment start, segment end, segment crossing).
Definition: SweepEvent.h:37