LPoint2i

class LPoint2i

Bases: LVecBase2i

This is a two-component point in space.

Inheritance diagram

Inheritance diagram of LPoint2i

LPoint2i(void) = default
LPoint2i(LVecBase2i const &copy)
LPoint2i(int fill_value)
LPoint2i(int x, int y)
LPoint2i(LPoint2i const&) = default

Constructs a new LPoint2 from a LVecBase2

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

Constructs a new LPoint2 with the given components

static TypeHandle get_class_type(void)
LPoint2i const &unit_x(void)

Returns a unit X point.

LPoint2i const &unit_y(void)

Returns a unit Y point.

LPoint2i const &zero(void)

Returns a zero-length point.