Table of Contents

Class BRepItem

Namespace
CADability
Assembly
CADability.dll

An entry of the OctTree<T> which BRepOperation uses to find the intersections of two shells: it wraps a Vertex, an Edge or a Face of one of the shells (Type tells which) and implements the extent and hit tests of IOctTreeInsertable for it, so that only edges and faces whose cubes overlap are intersected. A vertex item may also be an intersection vertex produced by intersecting an edge with a face; then isIntersection is set and edge and face refer to the edge and the face which created it. Internal helper of the boolean operations, not an entry point of the API.

public class BRepItem : IOctTreeInsertable
Inheritance
BRepItem
Implements
Inherited Members

Constructors

BRepItem(OctTree<BRepItem>, Edge)

public BRepItem(OctTree<BRepItem> root, Edge edge)

Parameters

root OctTree<BRepItem>
edge Edge

BRepItem(OctTree<BRepItem>, Face)

public BRepItem(OctTree<BRepItem> root, Face face)

Parameters

root OctTree<BRepItem>
face Face

BRepItem(OctTree<BRepItem>, Vertex)

public BRepItem(OctTree<BRepItem> root, Vertex vertex)

Parameters

root OctTree<BRepItem>
vertex Vertex

BRepItem(OctTree<BRepItem>, Vertex, Edge, Face)

public BRepItem(OctTree<BRepItem> root, Vertex vertex, Edge edge, Face face)

Parameters

root OctTree<BRepItem>
vertex Vertex
edge Edge
face Face

Fields

Type

public BRepItem.ItemType Type

Field Value

BRepItem.ItemType

edge

public Edge edge

Field Value

Edge

face

public Face face

Field Value

Face

isIntersection

public bool isIntersection

Field Value

bool

isSeam

public bool isSeam

Field Value

bool

vertex

public Vertex vertex

Field Value

Vertex