DG Kernel Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
Overview of the software
What is new
Licensing
Collapse ModelsModels
Collapse DG Kernel ComponentsDG Kernel Components
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 Search Documentation


Planar Ops Sample

PlanarOps is a simple application, which demonstrates Planar Boolean Operations and programming of Clipping Planes.

The Application

The application cuts or clips the main object (knot by default) with a plane. It uses the first Clipping Plane.of the first object in the model to display a plane in 3D.

Use "Show" check box to show / hide the plane. Use Enable check box to enable clipping plane, which works as a preview of the cut / clip operation. When enabled clipping palnes change only visual 3D display, not underlying geometry of the model.

To make change to the geometry press "Cut Permanently" button. Depending on "Keep Solid On Cut" check box the resulting object will appear as a solid or a clipped shell.

Use File menu either to save the result or (re)load a model. By default the application uses Models\Samples\PlanarOps.mdg model from the installation directory

The "Clipping plane" controls allow changing location and orientating of the plane. Change sign of all corrdinates in the Normal group to cut off the other half of the object. See also Clip example.

Implementation

Please select your language:

C#

C++

VB 6