C# Class SharpNeat.Domains.PolarPoint

Defines a 2D point in the polar coordinate space.
ファイルを表示 Open project: colgreen/sharpneat

Public Methods

Method Description
FromCartesian ( IntPoint p ) : PolarPoint

Create a point in the polar coordinate system from the provided Cartesian coordinates.

PolarPoint ( double r, double t ) : System

Construct with provided coordinate values.

Method Details

FromCartesian() public static method

Create a point in the polar coordinate system from the provided Cartesian coordinates.
public static FromCartesian ( IntPoint p ) : PolarPoint
p IntPoint
return PolarPoint

PolarPoint() public method

Construct with provided coordinate values.
public PolarPoint ( double r, double t ) : System
r double Radial coordinate (distance between points).
t double Angular coordinate (theta).
return System