SolidClassifier

class SolidClassifier

Provides capability to classify if points are inside or outside of a given shape.

Public Functions

SolidClassifier(const GeomShape &shape)

Solid classfier.

Parameters:

shape – Shape that we will be using for classification

bool inside(const Point &pt)

Test if a point is inside the shape.

Parameters:

ptPoint to test

Returns:

true if the point is inside, false otherwise

bool outside(const Point &pt)

Test if a point is outside the shape.

Parameters:

ptPoint to test

Returns:

true if the point is outside, false otherwise