![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cSegment3.h>
Public Types | |
| typedef float | DVALUE_t |
| Dimension value type. More... | |
Public Member Functions | |
| cSegment3f () noexcept | |
| cSegment3f (const cVector3f &v1, const cVector3f &v2) noexcept | |
| cVector3f | get_Center () const noexcept |
| DVALUE_t | get_Width () const noexcept |
| DVALUE_t | get_Height () const noexcept |
| DVALUE_t | get_HeightMax () const noexcept |
| DVALUE_t | get_Depth () const noexcept |
| cVector3f | get_Delta () const noexcept |
| enum AXIS_TYPE | get_LargestAxis () const noexcept |
| DVALUE_t | get_MaxDelta () const noexcept |
| DVALUE_t | get_Diameter () const |
| DVALUE_t | get_Radius () const |
| DVALUE_t | GetDistanceTo (const cVector3f &v) const |
| bool | operator== (const cSegment3f &line) const |
| operator const DVALUE_t * () const noexcept | |
| operator DVALUE_t * () noexcept | |
| void | SetMin () noexcept |
| void | SetMax () noexcept |
| void | SetOne () noexcept |
| void | SetZero () noexcept |
| void | SetRay (const cVector3f &vOrigin, const cVector3f &vDir, DVALUE_t fDist) |
| void | Scale (DVALUE_t fScale) |
| Change operators. More... | |
| void | ScaleVect (const cVector3f &vScale) |
| void | ScaleY (DVALUE_t fScaleY) |
| void | Offset (const cVector3f &vOffset) |
| void | Grow (const cVector3f &vOffset) |
| void | GrowN (DVALUE_t nValue) |
| ITERATE_t | v_SetLine (const cVariant &vArgs, ITERATE_t i=0) |
| void | v_GetLine (cVariant &vArgs) const |
| UNITTEST_FRIEND (cSegment3) | |
Public Attributes | |
| cVector3f | m_vMin |
| a vertex on the line segment More... | |
| cVector3f | m_vMax |
2 float 3d vertices make a line ("segment" is the proper CG term to distinguish from rays) in 3d space Same as a ray of limited length. Same data as AABB cBounds3f but with different interpretation.
| typedef float GrayLib::cSegment3f::DVALUE_t |
Dimension value type.
|
inlinenoexcept |
ASSUME m_vMin,m_vMax are undefined.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inline |
Change operators.
Scale in all 3 dimensions evenly
|
inline |
|
inline |
Scale just the Y
|
inlinenoexcept |
set to extreme LARGE values.
|
inlinenoexcept |
init to extreme EMPTY values. before doing UnionVect()
|
inlinenoexcept |
|
inline |
set the segment from a ray.
|
inlinenoexcept |
| GrayLib::cSegment3f::UNITTEST_FRIEND | ( | cSegment3 | ) |
| void GrayLib::cSegment3f::v_GetLine | ( | cVariant & | vArgs | ) | const |
| cVector3f GrayLib::cSegment3f::m_vMax |
| cVector3f GrayLib::cSegment3f::m_vMin |
a vertex on the line segment