ENEQGE ( geom1, geom2, same, ifail )
====================================
Enquire whether two geometries are equivalent.
Receives:
KI_tag_geometry *geom1 --- first geometric item
KI_tag_geometry *geom2 --- second geometric item
Returns:
KI_cod_logical *same --- result. KI_true if same
KI_cod_error *ifail --- failure indicator
Specific errors:
KI_wrong_sub_type only surfaces curves and points valid
KI_invalid_geometry curve fails to pass checks
surface fails to pass checks
KI_bad_type_combn geom1 and 2 are of different types
Description:
ENEQGE will compare two points, two curves, or two surfaces. If they
occupy the same position(s) in space, 'same' will return KI_true,
otherwise 'same' will return KI_false.
All comparisons of length or position are made to within a fixed
resolution (see OUMODP).
ENEQGE is not guaranteed to detect equivalence but it will never claim two
entities are equivalent when they are not.
Any curve or surface must be capable of passing the checks imposed by CHCKEN.
The self intersection check is only performed if the appropriate option is set
(see SEINTP).