SE_shape_union

Returns the union (logical OR of space) of two shapes.

Usage syntax

LONG SE_shape_union (const SE_SHAPE primary_shape, const SE_SHAPE secondary_shape, SE_SHAPE result_shape);

Parameters
primary_shape A handle to an active shape object
secondary_shape A handle to an active shape object
result_shape A pointer to a shape object handle that contains the result
Description

Returns the union (logical OR of space) of primary_shape and secondary_shape, returning the resulting union as a handle to a shape object in result_shape.

Returns

SE_SUCCESS
SE_INCOMPATIBLE_COORDREFS

SE_INCOMPATIBLE_SHAPES

SE_INVALID_SHAPE

SE_INVALID_SHAPE_OBJECT

SE_OUT_OF_CLMEM

Notes

•  This function works in 2-D space. Resulting shapes won’t have z- or m-values.

•  Ignores any CAD data in the source shape and removes any CAD data in the target shape.