Rev 220 | Rev 234 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 220 | Rev 223 | ||
---|---|---|---|
Line 231... | Line 231... | ||
231 | if (h1[h]) return h1[h]->minx; |
231 | if (h1[h]) return h1[h]->minx; |
232 | else return 0; |
232 | else return 0; |
233 | } |
233 | } |
234 | 234 | ||
235 | double _VI_FUNC H1D_GetMaxX(int h){ |
235 | double _VI_FUNC H1D_GetMaxX(int h){ |
236 | return h1[h]->minx+ h1[h]->nx |
236 | return h1[h]->minx+ h1[h]->nx*h1[h]->stepx; |
237 | } |
237 | } |
238 | 238 | ||
239 | 239 | ||
240 | double _VI_FUNC H1D_GetStepX(int h) { |
240 | double _VI_FUNC H1D_GetStepX(int h) { |
241 | if (h1[h]) return h1[h]->stepx; |
241 | if (h1[h]) return h1[h]->stepx; |