SE_shape_symmetrical_difference

Returns the symmetrical difference (logical XOR of space) of two shapes

Usage syntax

LONG SE_shape_symmetrical_difference (const SE_SHAPE primary_shape, const SE_SHAPE secondary_shape, SE_SHAPE tgt_shape);

Parameters
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
Description

SE_shape_symetrical_difference returns the symmetrical difference (the logical XOR of space) of two shapes as tgt_shape.

Returns

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

Notes

∙  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.