![]() |
3DCoat Python API
The 3DCoat Python API documentation.
|
Public Member Functions | |
| __init__ (self) | |
| any | __init__ (self, vec3 p) |
| __init__ (self, vec3 bMin, vec3 bMax) | |
| __init__ (self, boundbox v) | |
| any | __init__ (self) |
| vec3 | GetMin (self) |
| vec3 | GetMax (self) |
| vec3 | GetMin (self) |
| vec3 | GetMax (self) |
| Set (self, vec3 Min, vec3 Max) | |
| SetMin (self, vec3 _0) | |
| SetMax (self, vec3 _0) | |
| 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, vec3 _0) |
| m_Min = -cVec3.One, m_Max = cVec3.One | |
| bool | AddBounds (self, boundbox _0) |
| Inflate (self, float DeltaX, float DeltaY, float DeltaZ) | |
| Inflate (self, float DeltaXYZ) | |
| Inflate (self, vec3 Delta) | |
| Translate (self, vec2 _0) | |
| Translate (self, vec3 _0) | |
| float | DistanceToPointSq (self, vec2 p) |
| float | DistanceToPointSq (self, vec3 p) |
| 0.0f for inside | |
| bool | ContainsPoint (self, vec2 _0) |
| 0.0f for inside | |
| bool | ContainsCircle (self, vec2 Center, float Radius) |
| bool | ContainsPoint (self, vec3 _0) |
| bool | ContainsBounds (self, boundbox _0) |
| bool | IntersectsBounds (self, boundbox _0) |
| bool | IntersectsSphere (self, any _0) |
| bool | RayIntersection (self, vec3 RayOrig, vec3 RayDir, float Scale) |
| Intersection point is "RayOrig + RayDir * Scale". | |
| bool | RayIntersection (self, vec3 RayOrig, vec3 RayDir, vec3 Cross=None) |
| bool | LineIntersection (self, vec3 RayOrig, vec3 RayDir, float Scale) |
| ToPoints (self, vec3 P8) | |
| any | ToSphere (self) |
| Order is ready for "cFrustum" construction. | |
| rect | ToRect (self) |
Static Public Member Functions | |
| boundbox | FromPoints (vec2 pPoints, int nCount) |
| boundbox | FromPoints (vec3 pPoints, int nCount) |
| boundbox | Lerp (boundbox l, boundbox r, float s) |
| boundbox | Transform (boundbox B, mat4 T) |
| coat.boundbox.__init__ | ( | self | ) |
| any coat.boundbox.__init__ | ( | self, | |
| vec3 | p ) |
| coat.boundbox.__init__ | ( | self, | |
| boundbox | v ) |
| any coat.boundbox.__init__ | ( | self | ) |
| bool coat.boundbox.AddBounds | ( | self, | |
| boundbox | _0 ) |
| bool coat.boundbox.AddPoint | ( | self, | |
| vec3 | _0 ) |
m_Min = -cVec3.One, m_Max = cVec3.One
| bool coat.boundbox.ContainsBounds | ( | self, | |
| boundbox | _0 ) |
| bool coat.boundbox.ContainsCircle | ( | self, | |
| vec2 | Center, | ||
| float | Radius ) |
| bool coat.boundbox.ContainsPoint | ( | self, | |
| vec2 | _0 ) |
0.0f for inside
| bool coat.boundbox.ContainsPoint | ( | self, | |
| vec3 | _0 ) |
| float coat.boundbox.DistanceToPointSq | ( | self, | |
| vec2 | p ) |
| float coat.boundbox.DistanceToPointSq | ( | self, | |
| vec3 | p ) |
0.0f for inside
| vec3 coat.boundbox.GetCenter | ( | self | ) |
| float coat.boundbox.GetDiagonal | ( | self | ) |
| int coat.boundbox.GetLargestAxis | ( | self | ) |
| vec3 coat.boundbox.GetMax | ( | self | ) |
| vec3 coat.boundbox.GetMax | ( | self | ) |
| vec3 coat.boundbox.GetMin | ( | self | ) |
| vec3 coat.boundbox.GetMin | ( | self | ) |
| int coat.boundbox.GetShortestAxis | ( | self | ) |
| vec3 coat.boundbox.GetSize | ( | self | ) |
| float coat.boundbox.GetSizeX | ( | self | ) |
| float coat.boundbox.GetSizeY | ( | self | ) |
| float coat.boundbox.GetSizeZ | ( | self | ) |
| coat.boundbox.Inflate | ( | self, | |
| float | DeltaX, | ||
| float | DeltaY, | ||
| float | DeltaZ ) |
| coat.boundbox.Inflate | ( | self, | |
| float | DeltaXYZ ) |
| coat.boundbox.Inflate | ( | self, | |
| vec3 | Delta ) |
| bool coat.boundbox.IntersectsBounds | ( | self, | |
| boundbox | _0 ) |
| bool coat.boundbox.IntersectsSphere | ( | self, | |
| any | _0 ) |
| bool coat.boundbox.IsEmpty | ( | self | ) |
Intersection point is "RayOrig + RayDir * Scale".
| coat.boundbox.SetEmpty | ( | self | ) |
| coat.boundbox.SetMax | ( | self, | |
| vec3 | _0 ) |
| coat.boundbox.SetMin | ( | self, | |
| vec3 | _0 ) |
| coat.boundbox.SetZero | ( | self | ) |
| coat.boundbox.ToPoints | ( | self, | |
| vec3 | P8 ) |
| rect coat.boundbox.ToRect | ( | self | ) |
| any coat.boundbox.ToSphere | ( | self | ) |
Order is ready for "cFrustum" construction.
| coat.boundbox.Translate | ( | self, | |
| vec2 | _0 ) |
| coat.boundbox.Translate | ( | self, | |
| vec3 | _0 ) |