CUGL 1.3
Cornell University Game Library
cugl::Vec2 Member List

This is the complete list of members for cugl::Vec2, including all inherited members.

add(const Vec2 &v1, const Vec2 &v2, Vec2 *dst)cugl::Vec2static
add(const Vec2 &v)cugl::Vec2inline
add(float x, float y)cugl::Vec2inline
ANCHOR_BOTTOM_CENTERcugl::Vec2static
ANCHOR_BOTTOM_LEFTcugl::Vec2static
ANCHOR_BOTTOM_RIGHTcugl::Vec2static
ANCHOR_CENTERcugl::Vec2static
ANCHOR_MIDDLE_LEFTcugl::Vec2static
ANCHOR_MIDDLE_RIGHTcugl::Vec2static
ANCHOR_TOP_CENTERcugl::Vec2static
ANCHOR_TOP_LEFTcugl::Vec2static
ANCHOR_TOP_RIGHTcugl::Vec2static
angle(const Vec2 &v1, const Vec2 &v2)cugl::Vec2static
clamp(const Vec2 &v, const Vec2 &min, const Vec2 &max, Vec2 *dst)cugl::Vec2static
clamp(const Vec2 &min, const Vec2 &max)cugl::Vec2inline
cross(const Vec2 &other) constcugl::Vec2inline
cross(const Vec2 &v1, const Vec2 &v2)cugl::Vec2static
distance(const Vec2 &v) constcugl::Vec2inline
distanceSquared(const Vec2 &v) constcugl::Vec2inline
divide(const Vec2 &v, float s, Vec2 *dst)cugl::Vec2static
divide(const Vec2 &v1, const Vec2 &v2, Vec2 *dst)cugl::Vec2static
divide(float s)cugl::Vec2
divide(float sx, float sy)cugl::Vec2
divide(const Vec2 &v)cugl::Vec2
doesLineIntersect(const Vec2 &A, const Vec2 &B, const Vec2 &C, const Vec2 &D, float *S=nullptr, float *T=nullptr)cugl::Vec2static
doesLineOverlap(const Vec2 &A, const Vec2 &B, const Vec2 &C, const Vec2 &D)cugl::Vec2static
doesSegmentIntersect(const Vec2 &A, const Vec2 &B, const Vec2 &C, const Vec2 &D)cugl::Vec2static
doesSegmentOverlap(const Vec2 &A, const Vec2 &B, const Vec2 &C, const Vec2 &D, Vec2 *S=nullptr, Vec2 *E=nullptr)cugl::Vec2static
dot(const Vec2 &v) constcugl::Vec2inline
dot(const Vec2 &v1, const Vec2 &v2)cugl::Vec2static
equals(const Vec2 &v, float variance=CU_MATH_EPSILON) constcugl::Vec2inline
forAngle(const float a)cugl::Vec2inlinestatic
getAngle() constcugl::Vec2inline
getAngle(const Vec2 &other) constcugl::Vec2
getClamp(const Vec2 &min, const Vec2 &max) constcugl::Vec2inline
getIntersection(const Vec2 &A, const Vec2 &B, const Vec2 &C, const Vec2 &D)cugl::Vec2static
getLerp(const Vec2 &other, float alpha)cugl::Vec2inline
getMap(std::function< float(float)> func) constcugl::Vec2inline
getMidpoint(const Vec2 &other) constcugl::Vec2inline
getNegation() constcugl::Vec2inline
getNormalization() constcugl::Vec2inline
getPerp() constcugl::Vec2inline
getProjection(const Vec2 &other) constcugl::Vec2inline
getReciprocal() constcugl::Vec2inline
getRotation(float angle)cugl::Vec2
getRotation(float angle, const Vec2 &point)cugl::Vec2
getRotation(const Vec2 &other)cugl::Vec2inline
getRPerp() constcugl::Vec2inline
getUnrotation(const Vec2 &other)cugl::Vec2inline
isInvertible() constcugl::Vec2inline
isLineParallel(const Vec2 &A, const Vec2 &B, const Vec2 &C, const Vec2 &D)cugl::Vec2static
isNearZero(float variance=CU_MATH_EPSILON) constcugl::Vec2inline
isOne() constcugl::Vec2inline
isUnit(float variance=CU_MATH_EPSILON) constcugl::Vec2inline
isZero() constcugl::Vec2inline
length() constcugl::Vec2inline
lengthSquared() constcugl::Vec2inline
lerp(const Vec2 &other, float alpha)cugl::Vec2inline
lerp(const Vec2 &v1, const Vec2 &v2, float alpha, Vec2 *dst)cugl::Vec2static
map(std::function< float(float)> func)cugl::Vec2inline
midpoint(const Vec2 &v1, const Vec2 &v2, Vec2 *dst)cugl::Vec2static
negate(const Vec2 &v, Vec2 *dst)cugl::Vec2static
negate()cugl::Vec2inline
normalize()cugl::Vec2
normalize(const Vec2 &v, Vec2 *dst)cugl::Vec2static
ONEcugl::Vec2static
operator Size() constcugl::Vec2
operator std::string() constcugl::Vec2inline
operator Vec3() constcugl::Vec2
operator Vec4() constcugl::Vec2
operator!=(const Vec2 &v) constcugl::Vec2inline
operator*(float s) constcugl::Vec2inline
operator*(const Vec2 &v) constcugl::Vec2inline
operator*=(float s)cugl::Vec2inline
operator*=(const Vec2 &v)cugl::Vec2inline
operator+(const Vec2 &v) constcugl::Vec2inline
operator+(const Size &right) constcugl::Vec2inline
operator+=(const Vec2 &v)cugl::Vec2inline
operator+=(const Size &right)cugl::Vec2
operator-(const Vec2 &v) constcugl::Vec2inline
operator-() constcugl::Vec2inline
operator-(const Size &right) constcugl::Vec2inline
operator-=(const Vec2 &v)cugl::Vec2inline
operator-=(const Size &right)cugl::Vec2
operator/(float s) constcugl::Vec2inline
operator/(const Vec2 &v) constcugl::Vec2inline
operator/=(float s)cugl::Vec2inline
operator/=(const Vec2 &v)cugl::Vec2inline
operator<(const Vec2 &v) constcugl::Vec2inline
operator<=(const Vec2 &v) constcugl::Vec2inline
operator=(const float *array)cugl::Vec2inline
operator=(const Size &size)cugl::Vec2
operator=(const Vec3 &size)cugl::Vec2
operator=(const Vec4 &size)cugl::Vec2
operator==(const Vec2 &v) constcugl::Vec2inline
operator>(const Vec2 &v) constcugl::Vec2inline
operator>=(const Vec2 &v) constcugl::Vec2inline
over(const Vec2 &v) constcugl::Vec2inline
perp()cugl::Vec2inline
project(const Vec2 &other)cugl::Vec2inline
project(const Vec2 &v1, const Vec2 &v2, Vec2 *dst)cugl::Vec2static
reciprocate(const Vec2 &v, Vec2 *dst)cugl::Vec2static
reciprocate()cugl::Vec2inline
rotate(float angle)cugl::Vec2
rotate(float angle, const Vec2 &point)cugl::Vec2
rotate(const Vec2 &other)cugl::Vec2inline
rperp()cugl::Vec2inline
scale(const Vec2 &v, float s, Vec2 *dst)cugl::Vec2static
scale(const Vec2 &v1, const Vec2 &v2, Vec2 *dst)cugl::Vec2static
scale(float s)cugl::Vec2inline
scale(float sx, float sy)cugl::Vec2inline
scale(const Vec2 &v)cugl::Vec2inline
set(float x, float y)cugl::Vec2inline
set(const float *array)cugl::Vec2inline
set(const Vec2 &v)cugl::Vec2inline
set(const Vec2 &p1, const Vec2 &p2)cugl::Vec2inline
setZero()cugl::Vec2inline
subtract(const Vec2 &v1, const Vec2 &v2, Vec2 *dst)cugl::Vec2static
subtract(const Vec2 &v)cugl::Vec2inline
subtract(float x, float y)cugl::Vec2inline
toString(bool verbose=false) constcugl::Vec2
under(const Vec2 &v) constcugl::Vec2inline
UNIT_Xcugl::Vec2static
UNIT_Ycugl::Vec2static
unrotate(const Vec2 &other)cugl::Vec2inline
Vec2()cugl::Vec2inline
Vec2(float x, float y)cugl::Vec2inline
Vec2(const float *array)cugl::Vec2inline
Vec2(const Vec2 &p1, const Vec2 &p2)cugl::Vec2inline
Vec2(const Size &size)cugl::Vec2explicit
Vec2(const Vec3 &v)cugl::Vec2explicit
Vec2(const Vec4 &v)cugl::Vec2explicit
xcugl::Vec2
ycugl::Vec2
ZEROcugl::Vec2static