SE_shape_is_touching

Returns TRUE if the two supplied shapes share a common boundary.

Usage syntax

BOOL SE_shape_is_touching (const SE_SHAPE primary_shape, const SE_SHAPE secondary_shape);

Parameters
primary_shape A handle to an active shape object
secondary_shape A handle to an active shape object
Description

Returns TRUE if the two supplied shapes, primary_shape and secondary_shape, share a common boundary. All other conditions, including an invalid SE_SHAPE object, return FALSE. The two shapes cannot have any interior/interior intersections. See ‘Computing spatial relationships’ earlier in the chapter for more information.

Notes

•  Ignores any CAD data.