DG Kernel (ActiveX) Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
What is new
Upgrading Native Apps
Licensing
Collapse ModelsModels
Collapse DG Kernel ControlsDG Kernel Controls
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Collapse General GeometryGeneral Geometry
Collapse ModelModel
Collapse ViewView
Collapse General ComputingGeneral Computing
Collapse Samples and TutorialsSamples and Tutorials
Collapse GraphicsGraphics
Collapse Math ObjectsMath Objects
Collapse DeprecatedDeprecated
Redistribution
Model Viewer
Open Source
Support
Skip Navigation Links Go to DGKC docs 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.