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

Link to this section Summary

Types

t()

Type that represents an LineMod.Feature struct.

Link to this section Types

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

Type that represents an LineMod.Feature struct.

  • ref. reference()

    The underlying erlang resource variable.

Link to this section Functions

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

Feature

Return
  • self: Feature

Python prototype (for reference only):

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

Feature

Positional Arguments
  • x: int
  • y: int
  • label: int
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()