Пример #1
0
 internal ConvexHull()
 {
     /*
      * Constructor for a Convex_hull object. Used for dynamic insertion of geometries to create a convex hull.
      */
     m_tree_hull = new com.epl.geometry.Treap();
     m_tree_hull.SetCapacity(20);
     m_shape           = new com.epl.geometry.EditShape();
     m_geometry_handle = m_shape.CreateGeometry(com.epl.geometry.Geometry.Type.MultiPoint);
     m_path_handle     = m_shape.InsertPath(m_geometry_handle, -1);
     m_call_back       = new com.epl.geometry.ConvexHull.CallBackShape(this);
 }