[GRASS5] current position

Glynn Clements glynn at gclements.plus.com
Fri Feb 17 03:07:25 EST 2006


Huidae Cho wrote:

> > OTOH, it's not fine for a client to rely upon any specific behaviour
> > regarding what those functions do to the current point.
> 
> I got your point.  Then the following sequence should isolate the box from line
> (10, 10) -- (20, 20).
> 
> R_move_abs(10, 10);
> R_cont_abs(10, 10);
> R_box_abs(WHATEVER);
> R_cont_abs(20, 20);

The final R_cont_abs() doesn't make sense. There should always be an
R_move_abs() between any box or polygon function and any R_cont_*() or
R_*_rel() function.

> Then, we have to correct comments above R_(box|polygon)_*
definitions.

Yes.

> If I'm right, would you please?

Done.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list