[AdgPoint] Improved API and updated accordingly
commitaddc71056d1ad1815932cecb4b737b50b8692a1c
authorNicola Fontana <ntd@entidi.it>
Fri, 23 Apr 2010 23:41:12 +0000 (24 01:41 +0200)
committerNicola Fontana <ntd@entidi.it>
Fri, 23 Apr 2010 23:41:12 +0000 (24 01:41 +0200)
tree011e3efc61378b706a615a7ebc0f636f12841684
parent96c9ac35f18b5dd0db021789478f64ec21452cbd
[AdgPoint] Improved API and updated accordingly

Removed adg_point_set() because adg_point_copy() yet provides a similar
behavior. Implemented new adg_point_unset() API to make it clear how
unset an AdgPoint, avoiding to rely on a NULL value passed in as
parameter to other _set() methods.

Provided a convenient method in AdgEntity to set a point that must
update also the dependencies on the model (when that point is a named
pair) and used throughout the dimensioning entities.
src/adg/adg-adim.c
src/adg/adg-dim.c
src/adg/adg-entity.c
src/adg/adg-entity.h
src/adg/adg-point.c
src/adg/adg-point.h