Ignore:
Timestamp:
01/09/13 18:16:07 (11 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: Yes

What Interface Changed: added two new methods, get_gref() and get_gcellval() in plothelper class.

Test Programs: test_sdplot[sdplot_gridTest]

Put in Release Notes: No

Module(s): asapplotter and sdplot

Description:

Added two new methods in plothelper class to get grid center
and spacings of plot grids.

  • get_gref(): returns the reference direction (grid center) of grid (a string)
  • get_gcellval(): returns the absolute increment (in radian) of grid (a double vector)


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/python_PlotHelper.cpp

    r2717 r2719  
    3333    .def("get_gpos", &PlotHelper::getGridPixel,
    3434         (boost::python::arg("whichrow")=0) )
     35    //
     36    .def("get_gref", &PlotHelper::getGridRef)
     37    .def("get_gcellval", &PlotHelper::getGridCellVal)
    3538    /** TODO
     39    .def("get_gcell", &PlotHelper::getGridCell)
    3640    .def("get_gdir", &PlotHelper::getGridDirection)
    3741    .def("get_gdirval", &PlotHelper::getGridWorld)
Note: See TracChangeset for help on using the changeset viewer.