isZoneAncestorOf

Module: dggal
Class: DGGRS

bool isZoneAncestorOf(DGGRSZone ancestor, DGGRSZone descendant, int maxDepth)

Description

Check whether a zone is an ancestor of another zone

Parameters

ancestor  DGGRSZone  The ancestor zone 
descendant  DGGRSZone  The descendant zone 
maxDepth  int  The maximum relative depth to consider (0 for maximum) 
 
Return Value bool  True if the first zone is an ancestor of the second