SE_shape_symmetrical_difference |
Returns the symmetrical difference (logical XOR of space) of two shapes
LONG SE_shape_symmetrical_difference (const SE_SHAPE primary_shape, const SE_SHAPE secondary_shape, SE_SHAPE tgt_shape);
primary_shape | A handle to an active shape object |
secondary_shape | A handle to an active shape object |
tgt_shape | A handle to a shape object handle |
SE_shape_symetrical_difference returns the symmetrical difference (the logical XOR of space) of two shapes as tgt_shape.
SE_SUCCESS
SE_COORD_OUT_OF_BOUNDS
SE_FAILURE
SE_INCOMPATIBLE_COORDREFS
SE_INCOMPATIBLE_SHAPES
SE_INVALID_ENTITY_TYPE
SE_INVALID_POINTER
SE_INVALID_SHAPE
SE_INVALID_SHAPE_OBJECT
SE_OUT_OF_CLMEM
SE_SHAPE_INTEGRITY_ERROR
∙ This function works in 2-D space. Resulting shapes will not have z- or m-values.
∙ Ignores any CAD data in the source shape and removes any CAD data in the target shape.
∙ Lines which self-intersect may result in anomalous results. Use with line-line combinations that do not self-intersect.