Point2 Class Reference

Class Description

Describes a 2D point using float x and y coordinates.
+ Inheritance diagram for Point2:

Public Member Functions

def DotProd (self, args)
 
def Equals (self, args)
 
def GetLength (self)
 
def GetMaxComponent (self)
 
def GetMinComponent (self)
 
def GetOrigin ()
 
def GetX (self)
 
def GetXAxis ()
 
def GetY (self)
 
def GetYAxis ()
 
def LengthUnify (self)
 
def Normalize (self)
 
def Set (self, args)
 
def SetX (self, args)
 
def SetY (self, args)
 
def Unify (self)
 
- Public Member Functions inherited from Wrapper
def GetUnwrappedPtr (self)
 

Public Attributes

 this
 

Static Public Attributes

tuple GetOrigin = staticmethod(GetOrigin)
 
tuple GetXAxis = staticmethod(GetXAxis)
 
tuple GetYAxis = staticmethod(GetYAxis)
 
tuple thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 
tuple X = _swig_property(GetX, SetX)
 
tuple Y = _swig_property(GetY, SetY)
 
- Static Public Attributes inherited from Wrapper
tuple thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 

Member Function Documentation

def DotProd (   self,
  args 
)
DotProd(Point2 self, Point2 p) -> float
def Equals (   self,
  args 
)
Equals(Point2 self, Point2 p, float epsilon=1E-6) -> bool
Equals(Point2 self, Point2 p) -> bool
def GetLength (   self)
GetLength(Point2 self) -> float
def GetMaxComponent (   self)
GetMaxComponent(Point2 self) -> int
def GetMinComponent (   self)
GetMinComponent(Point2 self) -> int
def GetOrigin ( )
GetOrigin() -> Point2
def GetX (   self)
GetX(Point2 self) -> float
def GetXAxis ( )
GetXAxis() -> Point2
def GetY (   self)
GetY(Point2 self) -> float
def GetYAxis ( )
GetYAxis() -> Point2
def LengthUnify (   self)
LengthUnify(Point2 self) -> float
def Normalize (   self)
Normalize(Point2 self) -> Point2
def Set (   self,
  args 
)
Set(Point2 self, float X, float Y) -> Point2
def SetX (   self,
  args 
)
SetX(Point2 self, float value)
def SetY (   self,
  args 
)
SetY(Point2 self, float value)
def Unify (   self)
Unify(Point2 self) -> Point2