-added method isInnerContour()