LPoint2f
-
class LPoint2f
Bases:
LVecBase2f
This is a two-component point in space.
Inheritance diagram
-
LPoint2f(void) = default
-
LPoint2f(LVecBase2f const ©)
-
LPoint2f(float fill_value)
-
LPoint2f(float x, float y)
-
LPoint2f(LPoint2f const&) = default
Constructs a new
LPoint2
from aLVecBase2
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)
-
LPoint2f normalized(void) const
Normalizes the vector and returns the normalized vector as a copy. If the vector was a zero-length vector, a zero length vector will be returned.
-
LPoint2f project(LVecBase2f const &onto) const
Returns a new vector representing the projection of this vector onto another one. The resulting vector will be a scalar multiple of onto.
-
LPoint2f(void) = default