private bool IsWithinHeight(ICellGeometry a, ICellGeometry b) { var topWithin = helper.IsWithinHeight(a.TopCenter, b.TopCenter, b.BottomCenter, true); var bottomWithin = helper.IsWithinHeight(a.BottomCenter, b.TopCenter, b.BottomCenter, true); return(topWithin || bottomWithin); }
public bool IsWithinHeight_WhenGivenPoint_ShouldReturnAppropriateBoolean(Vector3 point, Vector3 top, Vector3 bottom, bool onLine) { return(helper.IsWithinHeight(point, top, bottom, onLine)); }