public override bool PointInObject(Vector2D point, ICanvasScreenConvertable canvasProxy) { return(LineHitUtils.PointInLine(MeasureLineP, point, canvasProxy) || LineHitUtils.PointInLine(MeasureLineV0, point, canvasProxy) || LineHitUtils.PointInLine(MeasureLineV1, point, canvasProxy)); }
public override bool ObjectInRectangle(Rectangle2D2 rect, ICanvasScreenConvertable canvasProxy, bool anyPoint) { return(LineHitUtils.LineInRectangle(MeasureLineP, rect, anyPoint) || LineHitUtils.LineInRectangle(MeasureLineV0, rect, anyPoint) || LineHitUtils.LineInRectangle(MeasureLineV1, rect, anyPoint)); }