Public Member Functions | |
def | of (cls, ptRef, pt) |
def | toString (cls, side) |
Static Public Attributes | |
int | Left = +1 |
int | On = 0 |
int | Right = -1 |
int | Straight = 0 |
Class to determine and define the side a Path is on, or Vectors are in relation to each other.
def PathScripts.PathGeom.Side.of | ( | cls, | |
ptRef, | |||
pt | |||
) |
of(ptRef, pt) Determine the side of pt in relation to ptRef. If both Points are viewed as vectors with their origin in (0,0,0) then the two vectors either form a straight line (On) or pt lies in the left or right hemisphere in regards to ptRef.
References Gui::Camera.Left, PathScripts.PathDressupDogbone.Side.Left, PathScripts.PathGeom.Side.Left, Gui::Camera.Right, PathScripts.PathDressupDogbone.Side.Right, PathScripts.PathGeom.Side.Right, and PathScripts.PathGeom.Side.Straight.
def PathScripts.PathGeom.Side.toString | ( | cls, | |
side | |||
) |
toString(side) Returns a string representation of the enum value.
References Gui::Camera.Left, PathScripts.PathDressupDogbone.Side.Left, PathScripts.PathGeom.Side.Left, Gui::Camera.Right, PathScripts.PathDressupDogbone.Side.Right, and PathScripts.PathGeom.Side.Right.
|
static |
|
static |
|
static |
|
static |
Referenced by PathScripts.PathGeom.Side.of().