PeachDrawing

PeachDrawing.Homography

Homography.TryProjectRectangleBounds(double, double, double, double, double, double, double, double, double) Method

The bounding box of ProjectRectangle(double, double, double, double, double)’s polygon, without building it: the same clip at W <= epsilon, on the stack. False when the projection is degenerate (fewer than three points, or wholly behind the viewer).

public bool TryProjectRectangleBounds(double left, double top, double right, double bottom, out double minX, out double minY, out double maxX, out double maxY, double epsilon=0.0001);

Parameters

left System.Double

top System.Double

right System.Double

bottom System.Double

minX System.Double

minY System.Double

maxX System.Double

maxY System.Double

epsilon System.Double

Returns

System.Boolean