View Source Evision.Reg.MapTypeCaster (Evision v0.2.9)

Summary

Types

t()

Type that represents an Reg.MapTypeCaster struct.

Types

@type t() :: %Evision.Reg.MapTypeCaster{ref: reference()}

Type that represents an Reg.MapTypeCaster struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

@spec toAffine(Keyword.t()) :: any() | {:error, String.t()}
@spec toAffine(Evision.Reg.Map.t()) ::
  Evision.Reg.MapAffine.t() | {:error, String.t()}

toAffine

Positional Arguments
Return
  • retval: MapAffine

Python prototype (for reference only):

toAffine(sourceMap) -> retval
@spec toProjec(Keyword.t()) :: any() | {:error, String.t()}
@spec toProjec(Evision.Reg.Map.t()) ::
  Evision.Reg.MapProjec.t() | {:error, String.t()}

toProjec

Positional Arguments
Return
  • retval: MapProjec

Python prototype (for reference only):

toProjec(sourceMap) -> retval
@spec toShift(Keyword.t()) :: any() | {:error, String.t()}
@spec toShift(Evision.Reg.Map.t()) :: Evision.Reg.MapShift.t() | {:error, String.t()}

toShift

Positional Arguments
Return
  • retval: MapShift

Python prototype (for reference only):

toShift(sourceMap) -> retval