Hi,

2009/9/5 Benjamin Ducke <[email protected]>:

[...]

>    case G_OPT_V3_TYPE:
>        Opt->key = "type";
>        Opt->type = TYPE_STRING;
>        Opt->required = NO;
>        Opt->multiple = YES;
>        Opt->answer = "point,line,boundary,centroid,area,face,kernel";
>        Opt->options = "point,line,boundary,centroid,area,face,kernel";
>        Opt->description = _("Feature type");
>
> so that all modules capable of handling 3D data could just
> declare their "type=" options to be G_OPT_V3_TYPE? That way, we could
> also easily add G_VOLUME support in the future by just extending 
> G_OPT_V3_TYPE.

It seems reasonable to me.

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to