C# Class R3.Geometry.Spherical2D

显示文件 Open project: roice3/Honeycombs Class Usage Examples

Public Methods

Method Description
GreatCirclePole ( Vector3D p1, Vector3D p2, Vector3D &pole1, Vector3D &pole2 ) : void

Same as above, but with implicit sphere geometry. A radius 1 sphere with the center at the origin.

GreatCirclePole ( Vector3D sphereCenter, Vector3D p1, Vector3D p2, Vector3D &pole1, Vector3D &pole2 ) : void

Calculates the two poles of a great circle defined by two points.

PlaneToSphere ( Vector3D planePoint ) : Vector3D

Sphere geometry is implicit. A radius 1 sphere with the center at the origin.

SphereToPlane ( Vector3D spherePoint ) : Vector3D

Sphere geometry is implicit. A radius 1 sphere with the center at the origin.

e2sNorm ( double eNorm ) : double
s2eNorm ( double sNorm ) : double

Method Details

GreatCirclePole() public static method

Same as above, but with implicit sphere geometry. A radius 1 sphere with the center at the origin.
public static GreatCirclePole ( Vector3D p1, Vector3D p2, Vector3D &pole1, Vector3D &pole2 ) : void
p1 Vector3D
p2 Vector3D
pole1 Vector3D
pole2 Vector3D
return void

GreatCirclePole() public static method

Calculates the two poles of a great circle defined by two points.
public static GreatCirclePole ( Vector3D sphereCenter, Vector3D p1, Vector3D p2, Vector3D &pole1, Vector3D &pole2 ) : void
sphereCenter Vector3D
p1 Vector3D
p2 Vector3D
pole1 Vector3D
pole2 Vector3D
return void

PlaneToSphere() public static method

Sphere geometry is implicit. A radius 1 sphere with the center at the origin.
public static PlaneToSphere ( Vector3D planePoint ) : Vector3D
planePoint Vector3D
return Vector3D

SphereToPlane() public static method

Sphere geometry is implicit. A radius 1 sphere with the center at the origin.
public static SphereToPlane ( Vector3D spherePoint ) : Vector3D
spherePoint Vector3D
return Vector3D

e2sNorm() public static method

public static e2sNorm ( double eNorm ) : double
eNorm double
return double

s2eNorm() public static method

public static s2eNorm ( double sNorm ) : double
sNorm double
return double