Section: Visualization Toolkit Geo Vis Classes
To create an instance of class vtkGeoProjection, simply invoke its constructor as follows
obj = vtkGeoProjection
obj
is an instance of the vtkGeoProjection class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkGeoProjection = obj.NewInstance ()
vtkGeoProjection = obj.SafeDownCast (vtkObject o)
obj.SetName (string )
- Set/get the short name describing the projection you wish to use.
This defaults to "rpoly" for no reason other than I like it.
To get a list of valid values, use the GetNumberOfProjections() and
GetProjectionName(int) static methods.
string = obj.GetName ()
- Set/get the short name describing the projection you wish to use.
This defaults to "rpoly" for no reason other than I like it.
To get a list of valid values, use the GetNumberOfProjections() and
GetProjectionName(int) static methods.
int = obj.GetIndex ()
- Return the index of the current projection's type in the list of all projection types.
On error, this will return -1. On success, it returns a number in [0,GetNumberOfProjections()[.
string = obj.GetDescription ()
- Get the description of a projection.
This will return NULL if the projection name is invalid.
obj.SetCentralMeridian (double )
- Set/get the longitude which corresponds to the central meridian of the projection.
This defaults to 0, the Greenwich Meridian.
double = obj.GetCentralMeridian ()
- Set/get the longitude which corresponds to the central meridian of the projection.
This defaults to 0, the Greenwich Meridian.