Skip to main content
FRAMES NO FRAMES

IlcLeOffset

public IlcConstraint IlcLeOffset(const IlcIntExp x, const IlcIntExp y, IlcInt c)
Definition file: ilcp/cpext.h
Include file: <ilcp/cpext.h>
Returns a less-than-or-equal offset constraint.

This function creates and returns a constraint equivalent to x <= y + c. That constraint is violated when the minimum of x is greater than the maximum of y + c.

When it is posted, this constraint reacts to the whenRange propagation event.

See Also: