C# Class Emgu.CV.Structure.LineSegment2DF

A line segment
Exibir arquivo Open project: fajoy/RTSPExample Class Usage Examples

Public Methods

Method Description
GetExteriorAngleDegree ( LineSegment2DF otherLine ) : double

Get the exterior angle between this line and otherLine

LineSegment2DF ( PointF p1, PointF p2 ) : System

Create a line segment with the specific start point and end point

Side ( PointF point ) : int

Determin which side of the line the 2D point is at

YByX ( float x ) : float

Obtain the Y value from the X value using first degree interpolation

Method Details

GetExteriorAngleDegree() public method

Get the exterior angle between this line and otherLine
public GetExteriorAngleDegree ( LineSegment2DF otherLine ) : double
otherLine LineSegment2DF The other line
return double

LineSegment2DF() public method

Create a line segment with the specific start point and end point
public LineSegment2DF ( PointF p1, PointF p2 ) : System
p1 System.Drawing.PointF The first point on the line segment
p2 System.Drawing.PointF The second point on the line segment
return System

Side() public method

Determin which side of the line the 2D point is at
public Side ( PointF point ) : int
point System.Drawing.PointF the point
return int

YByX() public method

Obtain the Y value from the X value using first degree interpolation
public YByX ( float x ) : float
x float The X value
return float