Home Page > Programming Samples and Tutorials > .NET Samples > Visual Basic Samples > BoolOp
VB .NET BoolOp Sample
Visual Basic .NET BoolOp Sample
Overview
Implementation
All relevant functionality is implemented inside the BoolOpForm class. On the
start BoolOpForm.Init() method obtains ISection
interfaces of the first two objects and stores them in the m_iSection0 and
m_iSection1 members.
The main work is done inside the BoolOpForm.OnExecute() handler, which
queries the IBooolSection interface
from m_iSection0 and calls an IBooolSection method for the selected operation supplying m_iSection1 as the parameter. In the end the function makes sure that the
View mode is current by calling IViewModal.SetViewMode
method to allow user to review the
result of the operation.
The DemonstrateIntersectionLineAccess() demonstrates access to intersection
curve and calculation of normals around the intersection. Notice usage of the
IUserData
to separate normals on the left and right hand side of the intersection curve.
See also: All .NET Samples,
All samples
|