LPoint2i

from panda3d.core import LPoint2i
class LPoint2i

Bases:

Bases: LVecBase2i

This is a two-component point in space.

Inheritance diagram

Inheritance diagram of LPoint2i

__add__(other: LVecBase2i) LVecBase2i
__add__(other: LVector2i) LPoint2i
__div__(scalar: int) LPoint2i
__getattr__(attr_name: str) object
__init__()
__init__(param0: LPoint2i)
__init__(copy: LVecBase2i)

Constructs a new LPoint2 from a LVecBase2

__init__(fill_value: int)

Constructs a new LPoint2 all components set to the fill value.

__init__(x: int, y: int)

Constructs a new LPoint2 with the given components

__mul__(scalar: int) LPoint2i
__repr__() str
__setattr__(attr_name: str, assign: object) int
__sub__(other: LPoint2i) LVector2i
__sub__(other: LVecBase2i) LVecBase2i
__sub__(other: LVector2i) LPoint2i
__sub__(other: LPoint2i) LVector2i
__sub__(other: LVecBase2i) LVecBase2i
__sub__(other: LVector2i) LPoint2i
static getClassType() TypeHandle
static unitX() LPoint2i

Returns a unit X point.

static unitY() LPoint2i

Returns a unit Y point.

static zero() LPoint2i

Returns a zero-length point.