function isRightEdgePointOf(point, ancestor) {
  return isRightEdgePoint(point) && isRightEdgeOf(point.node, ancestor);
}
returns whether point is right edge of ancestor or not.
@param {BoundaryPoint} point
@param {Node} ancestor
@return {Boolean}