C# Class Methods.GeometricalOperations

Show file Open project: vladislav-karamfilov/TelerikAcademy

Public Methods

Method Description
CalculateDistance ( double x1, double y1, double x2, double y2 ) : double
CalculateTriangleArea ( double sideA, double sideB, double sideC ) : double
IsHorizontalLine ( double x1, double y1, double x2, double y2 ) : bool
IsVerticalLine ( double x1, double y1, double x2, double y2 ) : bool

Method Details

CalculateDistance() public static method

public static CalculateDistance ( double x1, double y1, double x2, double y2 ) : double
x1 double
y1 double
x2 double
y2 double
return double

CalculateTriangleArea() public static method

public static CalculateTriangleArea ( double sideA, double sideB, double sideC ) : double
sideA double
sideB double
sideC double
return double

IsHorizontalLine() public static method

public static IsHorizontalLine ( double x1, double y1, double x2, double y2 ) : bool
x1 double
y1 double
x2 double
y2 double
return bool

IsVerticalLine() public static method

public static IsVerticalLine ( double x1, double y1, double x2, double y2 ) : bool
x1 double
y1 double
x2 double
y2 double
return bool