Line
kn::Line Declared in kraken/geometry/Line.hpp
At a glance
20 membersReference
C++ APIax
variabledouble axNo description in the source header.
ay
variabledouble ayNo description in the source header.
bx
variabledouble bxNo description in the source header.
by
variabledouble byNo description in the source header.
No description in the source header.
~Line
function~Line()=defaultNo description in the source header.
getLength
functiondouble getLength() constNo description in the source header.
getA
functionVec2 getA() constNo description in the source header.
setA
functionvoid setA(const Vec2 &pos)No description in the source header.
getB
functionVec2 getB() constNo description in the source header.
setB
functionvoid setB(const Vec2 &pos)No description in the source header.
move
functionvoid move(const Vec2 &offset)No description in the source header.
moved
functionNo description in the source header.
getMidpoint
functionVec2 getMidpoint() constNo description in the source header.
getPerpendicular
functionLine getPerpendicular() constNo description in the source header.
getAngle
functiondouble getAngle() constNo description in the source header.
getClosestPoint
functionNo description in the source header.
copy
functionLine copy() constNo description in the source header.
operator==
functionbool operator==(const Line &other) constNo description in the source header.
operator!=
functionbool operator!=(const Line &other) constNo description in the source header.