3DCoat Python API
The 3DCoat Python API documentation.
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
coat.boundbox Class Reference

Public Member Functions

 __init__ (self)
 
Any __init__ (self, p=vec3)
 
 __init__ (self, bMin=vec3, bMax=vec3)
 
 __init__ (self, v=Any)
 
Any __init__ (self)
 
vec3 GetMin (self)
 
vec3 GetMax (self)
 
vec3 GetMin (self)
 
vec3 GetMax (self)
 
 Set (self, Min=vec3, Max=vec3)
 
 SetMin (self, _0=vec3)
 
 SetMax (self, _0=vec3)
 
vec3 GetSize (self)
 
float GetSizeX (self)
 
float GetSizeY (self)
 
float GetSizeZ (self)
 
float GetDiagonal (self)
 
vec3 GetCenter (self)
 
int GetLargestAxis (self)
 
int GetShortestAxis (self)
 
 SetEmpty (self)
 
 SetZero (self)
 
bool IsEmpty (self)
 
bool AddPoint (self, _0=vec3)
 
bool AddBounds (self, _0=Any)
 
 Inflate (self, DeltaX=float, DeltaY=float, DeltaZ=float)
 
 Inflate (self, DeltaXYZ=float)
 
 Inflate (self, Delta=vec3)
 
 Translate (self, _0=vec2)
 
 Translate (self, _0=vec3)
 
float DistanceToPointSq (self, p=vec2)
 
float DistanceToPointSq (self, p=vec3)
 
bool ContainsPoint (self, _0=vec2)
 
bool ContainsCircle (self, Center=vec2, Radius=float)
 
bool ContainsPoint (self, _0=vec3)
 
bool ContainsBounds (self, _0=Any)
 
bool IntersectsBounds (self, _0=Any)
 
bool IntersectsSphere (self, _0=Any)
 
bool RayIntersection (self, RayOrig=vec3, RayDir=vec3, Scale=float)
 
bool RayIntersection (self, RayOrig=vec3, RayDir=vec3, Cross=vec3)
 
bool LineIntersection (self, RayOrig=vec3, RayDir=vec3, Scale=float)
 
boundbox FromPoints (pPoints=vec2, nCount=int)
 
boundbox FromPoints (pPoints=vec3, nCount=int)
 
 ToPoints (self, P8=vec3)
 
Any ToSphere (self)
 
boundbox Lerp (l=Any, r=Any, s=float)
 
boundbox Transform (B=Any, T=mat4)
 
rect ToRect (self)
 

Static Public Attributes

boundbox Empty
 
boundbox Zero
 
boundbox One
 

Constructor & Destructor Documentation

◆ __init__() [1/5]

coat.boundbox.__init__ (   self)

◆ __init__() [2/5]

Any coat.boundbox.__init__ (   self,
  p = vec3 
)

◆ __init__() [3/5]

coat.boundbox.__init__ (   self,
  bMin = vec3,
  bMax = vec3 
)

◆ __init__() [4/5]

coat.boundbox.__init__ (   self,
  v = Any 
)

◆ __init__() [5/5]

Any coat.boundbox.__init__ (   self)

Member Function Documentation

◆ AddBounds()

bool coat.boundbox.AddBounds (   self,
  _0 = Any 
)

◆ AddPoint()

bool coat.boundbox.AddPoint (   self,
  _0 = vec3 
)

◆ ContainsBounds()

bool coat.boundbox.ContainsBounds (   self,
  _0 = Any 
)

◆ ContainsCircle()

bool coat.boundbox.ContainsCircle (   self,
  Center = vec2,
  Radius = float 
)

◆ ContainsPoint() [1/2]

bool coat.boundbox.ContainsPoint (   self,
  _0 = vec2 
)

◆ ContainsPoint() [2/2]

bool coat.boundbox.ContainsPoint (   self,
  _0 = vec3 
)

◆ DistanceToPointSq() [1/2]

float coat.boundbox.DistanceToPointSq (   self,
  p = vec2 
)

◆ DistanceToPointSq() [2/2]

float coat.boundbox.DistanceToPointSq (   self,
  p = vec3 
)

◆ FromPoints() [1/2]

boundbox coat.boundbox.FromPoints (   pPoints = vec2,
  nCount = int 
)

◆ FromPoints() [2/2]

boundbox coat.boundbox.FromPoints (   pPoints = vec3,
  nCount = int 
)

◆ GetCenter()

vec3 coat.boundbox.GetCenter (   self)

◆ GetDiagonal()

float coat.boundbox.GetDiagonal (   self)

◆ GetLargestAxis()

int coat.boundbox.GetLargestAxis (   self)

◆ GetMax() [1/2]

vec3 coat.boundbox.GetMax (   self)

◆ GetMax() [2/2]

vec3 coat.boundbox.GetMax (   self)

◆ GetMin() [1/2]

vec3 coat.boundbox.GetMin (   self)

◆ GetMin() [2/2]

vec3 coat.boundbox.GetMin (   self)

◆ GetShortestAxis()

int coat.boundbox.GetShortestAxis (   self)

◆ GetSize()

vec3 coat.boundbox.GetSize (   self)

◆ GetSizeX()

float coat.boundbox.GetSizeX (   self)

◆ GetSizeY()

float coat.boundbox.GetSizeY (   self)

◆ GetSizeZ()

float coat.boundbox.GetSizeZ (   self)

◆ Inflate() [1/3]

coat.boundbox.Inflate (   self,
  Delta = vec3 
)

◆ Inflate() [2/3]

coat.boundbox.Inflate (   self,
  DeltaX = float,
  DeltaY = float,
  DeltaZ = float 
)

◆ Inflate() [3/3]

coat.boundbox.Inflate (   self,
  DeltaXYZ = float 
)

◆ IntersectsBounds()

bool coat.boundbox.IntersectsBounds (   self,
  _0 = Any 
)

◆ IntersectsSphere()

bool coat.boundbox.IntersectsSphere (   self,
  _0 = Any 
)

◆ IsEmpty()

bool coat.boundbox.IsEmpty (   self)

◆ Lerp()

boundbox coat.boundbox.Lerp (   l = Any,
  r = Any,
  s = float 
)

◆ LineIntersection()

bool coat.boundbox.LineIntersection (   self,
  RayOrig = vec3,
  RayDir = vec3,
  Scale = float 
)

◆ RayIntersection() [1/2]

bool coat.boundbox.RayIntersection (   self,
  RayOrig = vec3,
  RayDir = vec3,
  Cross = vec3 
)

◆ RayIntersection() [2/2]

bool coat.boundbox.RayIntersection (   self,
  RayOrig = vec3,
  RayDir = vec3,
  Scale = float 
)

◆ Set()

coat.boundbox.Set (   self,
  Min = vec3,
  Max = vec3 
)

◆ SetEmpty()

coat.boundbox.SetEmpty (   self)

◆ SetMax()

coat.boundbox.SetMax (   self,
  _0 = vec3 
)

◆ SetMin()

coat.boundbox.SetMin (   self,
  _0 = vec3 
)

◆ SetZero()

coat.boundbox.SetZero (   self)

◆ ToPoints()

coat.boundbox.ToPoints (   self,
  P8 = vec3 
)

◆ ToRect()

rect coat.boundbox.ToRect (   self)

◆ ToSphere()

Any coat.boundbox.ToSphere (   self)

◆ Transform()

boundbox coat.boundbox.Transform (   B = Any,
  T = mat4 
)

◆ Translate() [1/2]

coat.boundbox.Translate (   self,
  _0 = vec2 
)

◆ Translate() [2/2]

coat.boundbox.Translate (   self,
  _0 = vec3 
)

Member Data Documentation

◆ Empty

boundbox coat.boundbox.Empty
static

◆ One

boundbox coat.boundbox.One
static

◆ Zero

boundbox coat.boundbox.Zero
static

The documentation for this class was generated from the following file: