zoneHasSubZone

Module: dggal
Class: DGGRS

bool zoneHasSubZone(DGGRSZone hayStack, DGGRSZone needle)

Description

Check whether a zone has another zone as a sub-zone

Parameters

hayStack  DGGRSZone  The parent zone 
needle  DGGRSZone  The sub-zone 
 
Return Value bool  True if the first zone has the second zone as a sub-zone 

Remarks


A descendant zone is a sub-zone of an ancestor zone if the descendant zone if fully or partially contained within the ancestor zone.

See Also


getSubZoneIndex