Class ConstraintImpl.RelativeDynamic
java.lang.Object
codechicken.lib.gui.modular.lib.geometry.ConstraintImpl<ConstraintImpl.RelativeDynamic>
codechicken.lib.gui.modular.lib.geometry.ConstraintImpl.RelativeDynamic
- All Implemented Interfaces:
Constraint
- Enclosing class:
- ConstraintImpl<T extends ConstraintImpl<?>>
public static class ConstraintImpl.RelativeDynamic
extends ConstraintImpl<ConstraintImpl.RelativeDynamic>
-
Nested Class Summary
Nested classes/interfaces inherited from class codechicken.lib.gui.modular.lib.geometry.ConstraintImpl
ConstraintImpl.Between, ConstraintImpl.BetweenDynamic, ConstraintImpl.BetweenOffset, ConstraintImpl.BetweenOffsetDynamic, ConstraintImpl.Dynamic, ConstraintImpl.Literal, ConstraintImpl.MidPoint, ConstraintImpl.MidPointDynamic, ConstraintImpl.Relative, ConstraintImpl.RelativeDynamic -
Field Summary
FieldsFields inherited from class codechicken.lib.gui.modular.lib.geometry.ConstraintImpl
axis, precise -
Constructor Summary
ConstructorsConstructorDescriptionRelativeDynamic(GeoRef relTo, Supplier<Double> offset) Returns the value of the provided reference plus the given dynamic offset. -
Method Summary
-
Field Details
-
relTo
-
offset
-
-
Constructor Details
-
RelativeDynamic
Returns the value of the provided reference plus the given dynamic offset.
-
-
Method Details
-
getImpl
protected double getImpl()- Specified by:
getImplin classConstraintImpl<ConstraintImpl.RelativeDynamic>
-
getOffset
public double getOffset()
-