Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Point

Hierarchy

  • Point

Implemented by

Index

Methods

add

base

clone

data

  • data(): Buffer

embed

  • embed(data: Buffer, callback: function): Point
  • Parameters

    • data: Buffer
    • Optional callback: function
        • (length: number): Buffer
        • Parameters

          • length: number

          Returns Buffer

    Returns Point

    the new point

embedLen

  • embedLen(): number

equals

  • equals(p2: Point): boolean
  • Parameters

    Returns boolean

    true when both are equal

marshalBinary

  • marshalBinary(): Buffer

marshalSize

  • marshalSize(): number
  • Returns number

    the length as a number

mul

neg

null

pick

  • pick(callback: function): Point
  • Parameters

    • Optional callback: function
        • (length: number): Buffer
        • Parameters

          • length: number

          Returns Buffer

    Returns Point

    the new point

set

sub

toProto

  • toProto(): Buffer

toString

  • toString(): string
  • Returns string

    the string representation

unmarshalBinary

  • unmarshalBinary(bytes: Buffer): void
  • Parameters

    • bytes: Buffer

    Returns void

Generated using TypeDoc