Package com.io7m.jspatial.api.octtrees
Interface OctTreeOctantIterationDType<A,C>
-
- Type Parameters:
A- The type of tree objectsC- The type of contextual values
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface OctTreeOctantIterationDType<A,C>The type of functions used to iterate over the octants of octtrees.- Since:
- 3.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TreeVisitResultapply(C context, OctTreeOctantDType<A> octant, long depth)Apply the function.
-
-
-
Method Detail
-
apply
TreeVisitResult apply(C context, OctTreeOctantDType<A> octant, long depth)
Apply the function.- Parameters:
context- A context valueoctant- The current octantdepth- The current octant depth- Returns:
- A value indicating how or if the traversal should continue
-
-