Domain

class Domain(*args)

Base class for domain objects.

Notes

A Domain object can be created through its derived classes:

Methods

contains(*args) Check if the given point is inside of the domain.
getClassName() Accessor to the object’s name.
getDimension() Get the dimension of the domain.
getId() Accessor to the object’s id.
getImplementation(*args) Accessor to the underlying implementation.
getLowerBound()
getName() Accessor to the object’s name.
getNumericalVolume()
getUpperBound()
getVolume()
isEmpty()
isNumericallyEmpty()
numericallyContains(point)
setName(name) Accessor to the object’s name.
__init__(*args)

Initialize self. See help(type(self)) for accurate signature.

contains(*args)

Check if the given point is inside of the domain.

Parameters:

point : sequence of float

Point with the same dimension as the current domain’s dimension.

Returns:

isInside : bool

Flag telling whether the given point is inside of the domain.

getClassName()

Accessor to the object’s name.

Returns:

class_name : str

The object class name (object.__class__.__name__).

getDimension()

Get the dimension of the domain.

Returns:

dim : int

Dimension of the domain.

getId()

Accessor to the object’s id.

Returns:

id : int

Internal unique identifier.

getImplementation(*args)

Accessor to the underlying implementation.

Returns:

impl : Implementation

The implementation class.

getName()

Accessor to the object’s name.

Returns:

name : str

The name of the object.

setName(name)

Accessor to the object’s name.

Parameters:

name : str

The name of the object.