View Source Evision.LineMod.Feature (Evision v0.2.9)

Summary

Types

t()

Type that represents an LineMod.Feature struct.

Types

@type t() :: %Evision.LineMod.Feature{ref: reference()}

Type that represents an LineMod.Feature struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

@spec feature() :: t() | {:error, String.t()}

Feature

Return
  • self: Feature

Python prototype (for reference only):

Feature() -> <linemod_Feature object>
@spec feature(Keyword.t()) :: any() | {:error, String.t()}
@spec feature(integer(), integer(), integer()) :: t() | {:error, String.t()}

Feature

Positional Arguments
  • x: integer()
  • y: integer()
  • label: integer()
Return
  • self: Feature

Python prototype (for reference only):

Feature(x, y, label) -> <linemod_Feature object>
@spec get_label(t()) :: integer()
@spec get_x(t()) :: integer()
@spec get_y(t()) :: integer()
@spec set_label(t(), integer()) :: t()
@spec set_x(t(), integer()) :: t()
@spec set_y(t(), integer()) :: t()