C# 클래스 SharpNeat.Domains.PolarPoint

Defines a 2D point in the polar coordinate space.
파일 보기 프로젝트 열기: colgreen/sharpneat

공개 메소드들

메소드 설명
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.

메소드 상세

FromCartesian() 공개 정적인 메소드

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

PolarPoint() 공개 메소드

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