public class SphereNet extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SphereNet.Line3d
Represents a set of 3-d points that can be joined together to
make a grid line.
|
Constructor and Description |
---|
SphereNet(CubeSurface surf)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
getDefaultRadius()
Returns a reasonable radius for the sphere if none is explicitly
specified.
|
SphereNet.Line3d[] |
getLatitudeLines(double dRadius,
int nLat)
Returns an array of line specifications representing lines of
latitude.
|
SphereNet.Line3d[] |
getLongitudeLines(double dRadius,
int nLon)
Returns an array of line specifications representing lines of
longitude.
|
public SphereNet(CubeSurface surf)
surf
- surface on which grid lines will be specifiedpublic double getDefaultRadius()
public SphereNet.Line3d[] getLongitudeLines(double dRadius, int nLon)
dRadius
- radius in data unitsnLon
- number of equally spaced great circles required;
note this is half the number of meridiansnLon
-element array of meridian specifierspublic SphereNet.Line3d[] getLatitudeLines(double dRadius, int nLat)
dRadius
- radius in data unitsnLat
- number of equally spaced latitude lines in the north
(or south) hemisphere; excludes the equator1+nLat*2
-element aray of parallel specifiersCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.