matrix-dom
    Preparing search index...

    Type Alias AlterCoordinate<Value, Input, Source>

    AlterCoordinate: (coordinate: Input, axis: Axis, point: Source) => Value

    A function to alter one coordinate of a point, it returns the new value for the coordinate

    Type Parameters

    Type Declaration

      • (coordinate: Input, axis: Axis, point: Source): Value
      • Parameters

        • coordinate: Input

          The coordinate to alter

        • axis: Axis

          The axis for the coordinate being altered

        • point: Source

          The point that the coordinate is part of

        Returns Value