BRL-CAD
Loading...
Searching...
No Matches
Boolean Operations On B-Reps

Boolean Operations for Non-Uniform Rational B-Spline (NURBS) Boundary Representations. More...

Collaboration diagram for Boolean Operations On B-Reps:

Files

file  boolean.h
 

Enumerations

enum  op_type { BOOLEAN_UNION = 0 , BOOLEAN_INTERSECT = 1 , BOOLEAN_DIFF = 2 , BOOLEAN_XOR = 3 }
 

Functions

int ON_Boolean (ON_Brep *brepO, const ON_Brep *brepA, const ON_Brep *brepB, op_type operation)
 
bool ON_BrepPointInside (const ON_3dPoint &point, const ON_Brep *brep)
 

Detailed Description

Boolean Operations for Non-Uniform Rational B-Spline (NURBS) Boundary Representations.

Enumeration Type Documentation

◆ op_type

Enumerator
BOOLEAN_UNION 
BOOLEAN_INTERSECT 
BOOLEAN_DIFF 
BOOLEAN_XOR 

Definition at line 38 of file boolean.h.

Function Documentation

◆ ON_Boolean()

int ON_Boolean ( ON_Brep brepO,
const ON_Brep brepA,
const ON_Brep brepB,
op_type  operation 
)
extern

Evaluate NURBS boolean operations.

Parameters
brepO[out]
brepA[in]
brepB[in]
operation[in]

◆ ON_BrepPointInside()

bool ON_BrepPointInside ( const ON_3dPoint point,
const ON_Brep brep 
)
extern

Classify a point known not to lie on the boundary of a valid closed BRep.

Returns
true when the point is inside, false when it is outside or the input cannot be classified safely.