MeshLib Java Docs
Loading...
Searching...
No Matches

Public Member Functions

 BooleanOperation (int value)
boolean equals (java.lang.Object other)
int hashCode ()
java.lang.String toString ()

Static Public Member Functions

static BooleanOperation of (int value)

Public Attributes

final int value

Static Public Attributes

static final BooleanOperation InsideA = new BooleanOperation(0)
static final BooleanOperation InsideB = new BooleanOperation(1)
static final BooleanOperation OutsideA = new BooleanOperation(2)
static final BooleanOperation OutsideB = new BooleanOperation(3)
static final BooleanOperation Union = new BooleanOperation(4)
static final BooleanOperation Intersection = new BooleanOperation(5)
static final BooleanOperation DifferenceBA = new BooleanOperation(6)
static final BooleanOperation DifferenceAB = new BooleanOperation(7)
static final BooleanOperation Count = new BooleanOperation(8)

Detailed Description

Enum class of available CSG operations

Two separate meshes
See also
MR::boolean

The constants are static fields of this class. value holds the underlying value, so this can also hold values that aren't named constants.

Constructor & Destructor Documentation

◆ BooleanOperation()

meshlib.BooleanOperation.BooleanOperation ( int value)

Member Function Documentation

◆ equals()

boolean meshlib.BooleanOperation.equals ( java.lang.Object other)

◆ hashCode()

int meshlib.BooleanOperation.hashCode ( )

◆ of()

BooleanOperation meshlib.BooleanOperation.of ( int value)
static

Returns the named constant with this value, or a new instance if there's none.

◆ toString()

java.lang.String meshlib.BooleanOperation.toString ( )

Member Data Documentation

◆ Count

final BooleanOperation meshlib.BooleanOperation.Count = new BooleanOperation(8)
static

< not a valid operation

◆ DifferenceAB

final BooleanOperation meshlib.BooleanOperation.DifferenceAB = new BooleanOperation(7)
static

Surface of mesh A - surface of mesh B (outside A - inside B)

Difference A-B

◆ DifferenceBA

final BooleanOperation meshlib.BooleanOperation.DifferenceBA = new BooleanOperation(6)
static

Surface of mesh B - surface of mesh A (outside B - inside A)

Difference B-A

◆ InsideA

final BooleanOperation meshlib.BooleanOperation.InsideA = new BooleanOperation(0)
static

Part of mesh A that is inside of mesh B

Inside A

◆ InsideB

final BooleanOperation meshlib.BooleanOperation.InsideB = new BooleanOperation(1)
static

Part of mesh B that is inside of mesh A

Inside B

◆ Intersection

final BooleanOperation meshlib.BooleanOperation.Intersection = new BooleanOperation(5)
static

Intersection surface of two meshes (inside parts)

Intersection

◆ OutsideA

final BooleanOperation meshlib.BooleanOperation.OutsideA = new BooleanOperation(2)
static

Part of mesh A that is outside of mesh B

Outside A

◆ OutsideB

final BooleanOperation meshlib.BooleanOperation.OutsideB = new BooleanOperation(3)
static

Part of mesh B that is outside of mesh A

Outside B

◆ Union

final BooleanOperation meshlib.BooleanOperation.Union = new BooleanOperation(4)
static

Union surface of two meshes (outside parts)

Union

◆ value

final int meshlib.BooleanOperation.value

The documentation for this class was generated from the following file: