DG Kernel Documentation


Skip Navigation Links.
Skip Navigation LinksHome Page > Deprecated > Deprecated API Reference > Model > Section > IBoolSection Search Documentation


IBoolSection Interface

Subtract
Intersect
Unite

IBoolSection interface is implemented by objects to allow performing Boolean Operations on the object which implements the interface. Query IBoolSection interface form the relevant ISection. Note that if the original entity was not a Mesh Entity the interface becomes invalid and needs to be re-acquired before any further use, so it is wise to re-acquire the interface after any Boolean operation.

See also BoolOp Sample, and Interface List


HRESULT Subtract( ISection* object )

Parameters

object - [in] reference to an object to be subtracted form the object, which implements this interface

Return Values

S_OK in case of success.
Remarks:

Subtracts entity object from the entity where this IBoolSection was queried from. This method also allows performing subtraction of a programmatically defined plane from the object. See details in Planar Subtract.


HRESULT Intersect( ISection* object )

Parameters

object - [in] reference to an object to be intersected with

Return Values

S_OK in case of success.

HRESULT Unite( ISection* object )

Parameters

object - [in] reference to an object to be united with

Return Values

S_OK in case of success.