TreeContext
- class HPS.TreeContext : public HPS.Object
The TreeContext class is a user space object. It contains a spatial partition used for shell selection and shell relation computations. If many such operations will be performed without modifying the segment tree, using the same TreeContext for all of them can be a significant optimization. If a TreeContext is not specified, a new one is computed internally each time.
Public Functions
- override void Dispose ()
- bool Equals (HPS.TreeContext in_that)
Check if the source TreeContext is the same as this TreeContext.
- Return
true if the objects are identical, false otherwise.
- override bool Equals (Object obj)
- override int GetHashCode ()
- override HPS.Type ObjectType ()
This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object).
- Return
The declared type of the object in question, which may differ from the true, underlying type.
- TreeContext ()
The default constructor creates a new TreeContext object.
- TreeContext (bool in_create)
The default constructor creates a new TreeContext object.
- Param in_create
whether to create the underlying spatial tree context.
- TreeContext (HPS.TreeContext in_that)
The copy constructor shares a TreeContext object.
- Param in_that
The source TreeContext to share.
Public Static Functions
- bool operator!= (HPS.TreeContext a, HPS.TreeContext b)
- bool operator== (HPS.TreeContext a, HPS.TreeContext b)