C# Class Algorithms.RectHV

Mostra file Open project: beginor/practice Class Usage Examples

Public Methods

Method Description
Contains ( Point2D p ) : bool
DistanceSquaredTo ( Point2D p ) : double
DistanceTo ( Point2D p ) : double
Intersects ( RectHV that ) : bool
RectHV ( double xmin, double ymin, double xmax, double ymax ) : System
ToString ( ) : string

Method Details

Contains() public method

public Contains ( Point2D p ) : bool
p Point2D
return bool

DistanceSquaredTo() public method

public DistanceSquaredTo ( Point2D p ) : double
p Point2D
return double

DistanceTo() public method

public DistanceTo ( Point2D p ) : double
p Point2D
return double

Intersects() public method

public Intersects ( RectHV that ) : bool
that RectHV
return bool

RectHV() public method

public RectHV ( double xmin, double ymin, double xmax, double ymax ) : System
xmin double
ymin double
xmax double
ymax double
return System

ToString() public method

public ToString ( ) : string
return string