Public Member Functions

def of (cls, ptRef, pt)
 
def toString (cls, side)
 

Static Public Attributes

 Left
 
 On
 
 Right
 
 Straight
 

Detailed Description

Class to determine and define the side a Path is on, or Vectors are in relation to each other.

Member Function Documentation

◆ of()

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.PathGeom.Side.Left, PathScripts.PathDressupDogbone.Side.Left, Gui::Camera.Right, PathScripts.PathGeom.Side.Right, PathScripts.PathDressupDogbone.Side.Right, and PathScripts.PathGeom.Side.Straight.

◆ toString()

def PathScripts.PathGeom.Side.toString (   cls,
  side 
)

Member Data Documentation

◆ Left

PathScripts.PathGeom.Side.Left
static

◆ On

PathScripts.PathGeom.Side.On
static

◆ Right

PathScripts.PathGeom.Side.Right
static

◆ Straight

PathScripts.PathGeom.Side.Straight
static

The documentation for this class was generated from the following file:
  • src/Mod/Path/PathScripts/PathGeom.py