Public Member Functions | |
| PtBoundingBoxRt () | |
| void | InitBB (ref Vertex3f v1, ref Vertex3f v2, ref Vertex3f v3, ref Vertex3f v4) |
| void | GenerateBoundingBox () |
| void | ShowCenterAndExtends () |
| bool | Intersect (PtBoundingBoxRt bb) |
| bool | Overlaps (PtBoundingBoxRts bb) |
| float[] | GetBoundingBoxVertices () |
| void | ShowBoundingBox () |
| void | ShowBoundingBoxSolid () |
| bool | Intersect (int x, int y, PtRay ray) |
| bool | Intersect (int x, int y, PtRay ray, ref Vertex3f interSectionPoint) |
| bool | Intersect (int x, int y, PtRay ray, ref IntersectionInfo info) |
| bool | Intersect (int x, int y, PtRay ray, ref Vertex3f nearInterSectionPoint, ref Vertex3f farInterSectionPoint) |
| bool | Intersect (Vertex3f a_V0, Vertex3f a_V1, Vertex3f a_V2) |
Properties | |
| Vertex3f | MaxVertex [get, set] |
| Vertex3f | MinVertex [get, set] |
| Vertex3f | Size [get] |
| Powertek.Rt.PtBoundingBoxRt.PtBoundingBoxRt | ( | ) |
| void Powertek.Rt.PtBoundingBoxRt.GenerateBoundingBox | ( | ) |
GenerateBoundingBox.
| float [] Powertek.Rt.PtBoundingBoxRt.GetBoundingBoxVertices | ( | ) |
Return all corner vertices.
| void Powertek.Rt.PtBoundingBoxRt.InitBB | ( | ref Vertex3f | v1, | |
| ref Vertex3f | v2, | |||
| ref Vertex3f | v3, | |||
| ref Vertex3f | v4 | |||
| ) |
Init Bounding Box.
| v1 | ||
| v2 | ||
| v3 | ||
| v4 |
| bool Powertek.Rt.PtBoundingBoxRt.Intersect | ( | Vertex3f | a_V0, | |
| Vertex3f | a_V1, | |||
| Vertex3f | a_V2 | |||
| ) |
Intersect with Triangle, this will cover all possible cases...
| a_V0 | ||
| a_V1 | ||
| a_V2 |
| bool Powertek.Rt.PtBoundingBoxRt.Intersect | ( | int | x, | |
| int | y, | |||
| PtRay | ray, | |||
| ref Vertex3f | nearInterSectionPoint, | |||
| ref Vertex3f | farInterSectionPoint | |||
| ) |
Intersect with ray.
| x | ||
| y | ||
| ray | ||
| nearInterSectionPoint | ||
| farInterSectionPoint |
| bool Powertek.Rt.PtBoundingBoxRt.Intersect | ( | int | x, | |
| int | y, | |||
| PtRay | ray, | |||
| ref IntersectionInfo | info | |||
| ) |
Intersect with ray.
| x | ||
| y | ||
| ray | ||
| info |
| bool Powertek.Rt.PtBoundingBoxRt.Intersect | ( | int | x, | |
| int | y, | |||
| PtRay | ray, | |||
| ref Vertex3f | interSectionPoint | |||
| ) |
Intersect with ray.
| x | ||
| y | ||
| ray | ||
| interSectionPoint |
| bool Powertek.Rt.PtBoundingBoxRt.Intersect | ( | int | x, | |
| int | y, | |||
| PtRay | ray | |||
| ) |
Intersect with ray.
| x | ||
| y | ||
| ray |
| bool Powertek.Rt.PtBoundingBoxRt.Intersect | ( | PtBoundingBoxRt | bb | ) |
Intersect with another BB.
| bb |
| bool Powertek.Rt.PtBoundingBoxRt.Overlaps | ( | PtBoundingBoxRts | bb | ) |
Check if this overlaps another bb.
| bb |
| void Powertek.Rt.PtBoundingBoxRt.ShowBoundingBox | ( | ) |
Show, Render BoundingBox, all coords are not opengl coords (so swapping of z is needed).
| void Powertek.Rt.PtBoundingBoxRt.ShowBoundingBoxSolid | ( | ) |
Show, Render BoundingBox as a solid cube.
| void Powertek.Rt.PtBoundingBoxRt.ShowCenterAndExtends | ( | ) |
ShowCenterAndExtends.
Vertex3f Powertek.Rt.PtBoundingBoxRt.MaxVertex [get, set] |
MaxVertex.
Vertex3f Powertek.Rt.PtBoundingBoxRt.MinVertex [get, set] |
MinVertex.
Vertex3f Powertek.Rt.PtBoundingBoxRt.Size [get] |
Size.
1.5.7.1