Test another path to see if it is an ancestor of this path.
For a path to be considered an ancestor, it must share the initial dimensions.
Grasshopper (in Grasshopper.dll)
public bool IsAncestor(
ref int additional_generations
Public Function IsAncestor (
potential_ancestor As GH_Path,
ByRef additional_generations As Integer
) As Boolean
- Type: Grasshopper.Kernel.DataGH_Path
Parental path to test.
- Type: SystemInt32
This value will hold
the number of generations between parent and child path.
True if other overlaps completely with this path while
being at least one element shorter.