Table of Contents

Class BRepOpWith

Namespace
CADability.GeoObject
Assembly
CADability.dll

Command handler for the entries of the context menu of a Solid that apply a boolean operation to the solid and all other solids whose extent overlaps it: "MenuId.Solid.RemoveFromAll" subtracts the solid from the others, "MenuId.Solid.RemoveAll" subtracts the others from the solid, "MenuId.Solid.UniteWithAll" unites them all, "MenuId.Solid.IntersectWithAll" keeps the common part and "MenuId.Solid.SplitWithAll" splits the solids into the fragments made by their mutual intersections. The results replace the original solids in their owner (model or block) within a single undo frame. Created by the solid when its context menu is built.

public class BRepOpWith : ICommandHandler
Inheritance
BRepOpWith
Implements
Inherited Members

Constructors

BRepOpWith(Solid, List<Solid>, IFrame)

Creates the handler for solid and the solids other it interacts with.

public BRepOpWith(Solid solid, List<Solid> other, IFrame frame)

Parameters

solid Solid

the solid whose context menu is shown

other List<Solid>

the other solids, those whose extent overlaps the extent of solid

frame IFrame

the frame, whose project provides the undo frame