Point2 Class Reference

Class Description

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

Public Member Functions

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

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