\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.11 - Kinetic Data Structures
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
CGAL::Kinetic::Insert_event< ActiveObjectsTable > Class Template Reference

#include <CGAL/Kinetic/Insert_event.h>

Definition

This event inserts a point into the ActiveObjectsTable when it is processed.

Is Model Of:
Kinetic::Simulator::Event
See Also
Kinetic::ActiveObjectsTable
Kinetic::Active_objects_vector<MovingObject>

Example

typedef CGAL::Kinetic::Exact_simulation_traits Simulation_traits;
typedef Simulation_traits::Kinetic_kernel::Point_2 Moving_point_2;
Simulation_traits tr;
KDel kdel(tr);
Moving_point_2 mp(Moving_point_2::Coordinate(0),
Moving_point_2::Coordinate(0));
tr.simulator_handle()->new_event(Simulation_traits::Simulator::Time(3),
tr.active_points_2_table_handle()));

Creation

 Insert_event (ActiveObjectsTable::Data o, ActiveObjectsTable::Handle t)
 Insert the object o, into the table t when processed.