panda3d.core.LPoint2i

class LPoint2i

Bases: LVecBase2i

This is a two-component point in space.

Inheritance diagram

Inheritance diagram of LPoint2i

__init__() → None
__init__(param0: LPoint2i) → None
__init__(copy: LVecBase2i) → None

Constructs a new LPoint2 from a LVecBase2

__init__(fill_value: int) → None

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

__init__(x: int, y: int) → None

Constructs a new LPoint2 with the given components

static zero() → LPoint2i

Returns a zero-length point.

Return type

LPoint2i

static unitX() → LPoint2i

Returns a unit X point.

Return type

LPoint2i

static unitY() → LPoint2i

Returns a unit Y point.

Return type

LPoint2i

static getClassType() → TypeHandle
Return type

TypeHandle