C# Class Core.LineSegment

Exibir arquivo Open project: StanislavUshakov/NumericalMethods Class Usage Examples

Public Methods

Method Description
Intersects ( LineSegment other, IntersectionCheckOptions option ) : bool
LineSegment ( Point start, Point end ) : System

Private Methods

Method Description
projectionIntersection ( int a, int b, int c, int d, IntersectionCheckOptions option ) : bool
projectionIntersectionCheck ( LineSegment other, IntersectionCheckOptions option ) : bool
signedTriangleSquare ( Point a, Point b, Point c ) : int
signedTriangleSquareCheck ( LineSegment other, IntersectionCheckOptions option ) : bool

Method Details

Intersects() public method

public Intersects ( LineSegment other, IntersectionCheckOptions option ) : bool
other LineSegment
option IntersectionCheckOptions
return bool

LineSegment() public method

public LineSegment ( Point start, Point end ) : System
start Point
end Point
return System