PeachDrawing
PeachDrawing.Homography
Homography.ProjectRectangle(double, double, double, double, double) Method
The image of the rectangle (left, top, right, bottom) as a polygon, cut off where it would reach the viewer’s plane (W at or below epsilon) before dividing, so the part of an element that passes behind the eye never projects to a smear across the page. Empty when none of it is in front.
public System.Collections.Generic.List<(double X,double Y)> ProjectRectangle(double left, double top, double right, double bottom, double epsilon=0.0001);
Parameters
left System.Double
top System.Double
right System.Double
bottom System.Double
epsilon System.Double
Returns
System.Collections.Generic.List<<System.Double,System.Double>>