fdtdx.RealCoordinateConstraint#

class fdtdx.RealCoordinateConstraint(*, object, axes, sides, coordinates)[source]#

Bases: object

Constrains an object’s position to specific real-space coordinates.

Forces specific sides of an object to align with given real-space coordinates. Used for precise positioning in physical units.

Quick Reference#

Attributes

Methods

Attributes#

RealCoordinateConstraint.object: str#

The object to position

RealCoordinateConstraint.axes: tuple[int, ...]#

Which axes to constrain

RealCoordinateConstraint.sides: tuple[Literal['+', '-'], ...]#

Which side of each axis (‘+’ or ‘-‘)

RealCoordinateConstraint.coordinates: tuple[float, ...]#

Real-space coordinates to align with

Methods#

If you find any errors in the documentation, please report them in the Github Issues!