Метод | Описание | |
---|---|---|
ApplyMobius ( |
Helper to apply a Mobius to the ball model. Vector is taken to UHS, mobius applied, then taken back.
|
|
ClosestToOrigin ( |
Given a geodesic circle, find the point closest to the origin.
|
|
ClosestToOrigin ( |
Given a geodesic sphere, find the point closest to the origin.
|
|
DupinCyclideSphere ( Vector3D vNonEuclidean, double radiusEuclideanOrigin, Geometry g, Vector3D ¢erEuclidean, double &radiusEuclidean ) : void |
Helper that works in all geometries. center: http://www.wolframalpha.com/input/?i=%28+%28+%28+r+%2B+p+%29+%2F+%28+1+-+r*p+%29+%29+%2B+%28+%28+-r+%2B+p+%29+%2F+%28+1+%2B+r*p+%29+%29++%29+%2F+2 radius: http://www.wolframalpha.com/input/?i=%28+%28+%28+r+%2B+p+%29+%2F+%28+1+-+r*p+%29+%29+-+%28+%28+-r+%2B+p+%29+%2F+%28+1+%2B+r*p+%29+%29++%29+%2F+2
|
|
DupinCyclideSphere ( Vector3D v, double radiusEuclideanOrigin, Vector3D ¢erEuclidean, double &radiusEuclidean ) : void |
Calculates the euclidean center/radius of a standard sphere transformed to the nonEuclidean point v. The standard sphere is the sphere at the origin having euclidean radius 'radiusEuclideanOrigin'.
|
|
Geodesic ( Vector3D v1, Vector3D v2, Vector3D ¢er, double &radius, Vector3D &normal, double &angleTot ) : void | ||
GeodesicIdealEndpoints ( Vector3D v1, Vector3D v2, Vector3D &b1, Vector3D &b2 ) : void |
Given two points (in the ball model), find the endpoints of the associated geodesic that lie on the boundary.
|
|
GeodesicPoints ( Vector3D v1, Vector3D v2, double quality = 1.0 ) : Vector3D[] |
Calculate points along a geodesic segment from v1 to v2. quality can vary from 0 to 1.
|
|
GeodesicPoints ( Vector3D v1, Vector3D v2, int div ) : Vector3D[] |
Calculate points along a geodesic segment from v1 to v2.
|
|
HDist ( Vector3D u, Vector3D v ) : double |
Returns the hyperbolic distance between two points.
|
|
IdealCircle ( |
Given a geodesic sphere, returns it's intersection with the boundary plane.
|
|
IdealPoints ( |
Given a geodesic sphere, calculates 3 ideal points of the sphere. NOTE: s1 and s2 will be antipodal on the ideal circle.
|
|
LODThin ( Vector3D e1, Vector3D e2, int &div ) : void | ||
LOD_Finite ( Vector3D e1, Vector3D e2, int &div1, int &div2, H3 settings ) : void |
LOD
|
|
LOD_Ideal ( Vector3D e1, Vector3D e2, int &div1, int &div2, H3 settings ) : void | ||
Midpoint ( H3 edge ) : Vector3D |
Calculate the hyperbolic midpoint of an edge. Only works for non-ideal edges at the moment.
|
|
OrthogonalCircle ( |
Given 2 points on the boundary of a circle, calculate the orthogonal circle.
|
|
OrthogonalCircle ( Vector3D v1, Vector3D v2 ) : |
||
OrthogonalCircle ( Vector3D v1, Vector3D v2, Vector3D ¢er, double &radius ) : void |
Given 2 points on the surface of the ball, calculate the center and radius of the orthogonal circle.
|
|
OrthogonalCircleInterior ( Vector3D v1, Vector3D v2, |
Given 2 points in the interior of the ball, calculate the center and radius of the orthogonal circle. One point may optionally be on the boundary, but one shoudl be in the interior. If both points are on the boundary, we'll fall back on our other method.
|
|
OrthogonalSphere ( Vector3D b1, Vector3D b2, Vector3D b3 ) : |
Find the sphere defined by 3 points on the unit sphere, and orthogonal to the unit sphere. Returns null if points are not on the unit sphere.
|
|
OrthogonalSphereInterior ( Vector3D v ) : |
Find an orthogonal sphere defined by a single interior point. This point is the unique point on the sphere that is furthest from the ball boundary. (equivalently, closest to the origin)
|
|
OrthogonalSphereInterior ( Vector3D c1, Vector3D c2, Vector3D c3 ) : |
Find the sphere defined by 3 points in the interior of the unit sphere, and orthogonal to the unit sphere.
|
|
SizeFunc ( Vector3D v, double angularThickness ) : double |
A size function for the ball model. Returns a radius.
|
Метод | Описание | |
---|---|---|
ApplyMinRadiusForPrinting ( double &radius ) : void | ||
ApplyMinRadiusForWiki ( double &radius ) : void | ||
HalfTo ( Vector3D v ) : Vector3D |
public static ApplyMobius ( |
||
m | ||
v | Vector3D | |
Результат | Vector3D |
public static ClosestToOrigin ( |
||
c | ||
Результат | Vector3D |
public static ClosestToOrigin ( |
||
s | ||
Результат | Vector3D |
public static DupinCyclideSphere ( Vector3D vNonEuclidean, double radiusEuclideanOrigin, Geometry g, Vector3D ¢erEuclidean, double &radiusEuclidean ) : void | ||
vNonEuclidean | Vector3D | |
radiusEuclideanOrigin | double | |
g | Geometry | |
centerEuclidean | Vector3D | |
radiusEuclidean | double | |
Результат | void |
public static DupinCyclideSphere ( Vector3D v, double radiusEuclideanOrigin, Vector3D ¢erEuclidean, double &radiusEuclidean ) : void | ||
v | Vector3D | |
radiusEuclideanOrigin | double | |
centerEuclidean | Vector3D | |
radiusEuclidean | double | |
Результат | void |
public static Geodesic ( Vector3D v1, Vector3D v2, Vector3D ¢er, double &radius, Vector3D &normal, double &angleTot ) : void | ||
v1 | Vector3D | |
v2 | Vector3D | |
center | Vector3D | |
radius | double | |
normal | Vector3D | |
angleTot | double | |
Результат | void |
public static GeodesicIdealEndpoints ( Vector3D v1, Vector3D v2, Vector3D &b1, Vector3D &b2 ) : void | ||
v1 | Vector3D | |
v2 | Vector3D | |
b1 | Vector3D | |
b2 | Vector3D | |
Результат | void |
public static GeodesicPoints ( Vector3D v1, Vector3D v2, double quality = 1.0 ) : Vector3D[] | ||
v1 | Vector3D | |
v2 | Vector3D | |
quality | double | |
Результат | Vector3D[] |
public static GeodesicPoints ( Vector3D v1, Vector3D v2, int div ) : Vector3D[] | ||
v1 | Vector3D | |
v2 | Vector3D | |
div | int | |
Результат | Vector3D[] |
public static HDist ( Vector3D u, Vector3D v ) : double | ||
u | Vector3D | |
v | Vector3D | |
Результат | double |
public static IdealCircle ( |
||
s | ||
Результат |
public static IdealPoints ( |
||
s | ||
s1 | Vector3D | |
s2 | Vector3D | |
s3 | Vector3D | |
Результат | void |
public static LODThin ( Vector3D e1, Vector3D e2, int &div ) : void | ||
e1 | Vector3D | |
e2 | Vector3D | |
div | int | |
Результат | void |
public static LOD_Finite ( Vector3D e1, Vector3D e2, int &div1, int &div2, H3 settings ) : void | ||
e1 | Vector3D | |
e2 | Vector3D | |
div1 | int | |
div2 | int | |
settings | H3 | |
Результат | void |
public static LOD_Ideal ( Vector3D e1, Vector3D e2, int &div1, int &div2, H3 settings ) : void | ||
e1 | Vector3D | |
e2 | Vector3D | |
div1 | int | |
div2 | int | |
settings | H3 | |
Результат | void |
public static Midpoint ( H3 edge ) : Vector3D | ||
edge | H3 | |
Результат | Vector3D |
public static OrthogonalCircle ( |
||
c | ||
v1 | Vector3D | |
v2 | Vector3D | |
Результат |
public static OrthogonalCircle ( Vector3D v1, Vector3D v2 ) : |
||
v1 | Vector3D | |
v2 | Vector3D | |
Результат |
public static OrthogonalCircle ( Vector3D v1, Vector3D v2, Vector3D ¢er, double &radius ) : void | ||
v1 | Vector3D | |
v2 | Vector3D | |
center | Vector3D | |
radius | double | |
Результат | void |
public static OrthogonalCircleInterior ( Vector3D v1, Vector3D v2, |
||
v1 | Vector3D | |
v2 | Vector3D | |
circle | ||
Результат | void |
public static OrthogonalSphere ( Vector3D b1, Vector3D b2, Vector3D b3 ) : |
||
b1 | Vector3D | |
b2 | Vector3D | |
b3 | Vector3D | |
Результат |
public static OrthogonalSphereInterior ( Vector3D v ) : |
||
v | Vector3D | |
Результат |
public static OrthogonalSphereInterior ( Vector3D c1, Vector3D c2, Vector3D c3 ) : |
||
c1 | Vector3D | |
c2 | Vector3D | |
c3 | Vector3D | |
Результат |
public static SizeFunc ( Vector3D v, double angularThickness ) : double | ||
v | Vector3D | |
angularThickness | double | |
Результат | double |