C# Class SharpNeat.Domains.PolarPoint

Defines a 2D point in the polar coordinate space.
Afficher le fichier Open project: colgreen/sharpneat

Méthodes publiques

Méthode 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 méthode

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

PolarPoint() public méthode

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