DriveWorks SDK Reference
5.10.90 Release
For Test and Development only

GeometricTypes.h File Reference

Go to the source code of this file.

Data Structures

struct  dwBbox2Df
 Defines an AABB bounding box 2D. More...
 
struct  dwBbox3Df
 Defines an AABB bounding box 3D. More...
 
struct  dwLine3d
 Defines a double-precision line segment. More...
 
struct  dwLine3f
 Defines a single-precision line segment. More...
 
struct  dwOrientedBoundingBox2f
 Data structure representing an oriented bounding box in the local object coordinate frame The box is defined using the center 2D point, the XY half axis lengths and a rotation matrix. More...
 
struct  dwOrientedBoundingBox3f
 Data structure representing an oriented bounding box in the local object coordinate frame The box is defined using the center 3D point, the XYZ half axis lengths and a rotation matrix. More...
 
struct  dwQuaterniond
 Defines a double-precision quaternion. More...
 
struct  dwQuaternionf
 Defines a single-precision quaternion. More...
 
struct  dwRect
 Defines a rectangle. More...
 
struct  dwRectf
 Defines a rectangle with floating point numbers. More...
 

Enumerations

enum  dwSide {
  DW_SIDE_LEFT = 0 ,
  DW_SIDE_RIGHT = 1 ,
  DW_SIDE_CENTER = 2
}
 A generic side enum definition to improve consistency of objects with a 'side' concept Usage: define enum entity e.g. More...
 

Data Structure Documentation

◆ dwBbox2Df

struct dwBbox2Df
Data Fields
dwVector2f aa Point AA, one of vertices of a AABB bounding box.
dwVector2f bb Point BB, opposite vertex of AA.

◆ dwBbox3Df

struct dwBbox3Df
Data Fields
dwVector3f aa Point AA, one of vertices of a AABB bounding box.
dwVector3f bb Point BB, opposite vertex of AA.

◆ dwLine3d

struct dwLine3d
Data Fields
dwVector3d p[2]
uint32_t pCount Stores the occupied/valid length of p.

◆ dwLine3f

struct dwLine3f
Data Fields
dwVector3f p[2]
uint32_t pCount Stores the occupied/valid length of p.

◆ dwOrientedBoundingBox2f

struct dwOrientedBoundingBox2f
Data Fields
dwVector2f center Coordinate of the position of the center of the bounding box in the local frame.
dwVector2f halfAxisXY Half of the width, and height of the box in the local frame.
dwMatrix2f rotation Rotation matrix defining the orientation in the local frame.

◆ dwOrientedBoundingBox3f

struct dwOrientedBoundingBox3f
Data Fields
dwVector3f center Coordinate of the position of the center of the bounding box in the local frame.
dwVector3f halfAxisXYZ Half of the width, height and depth of the box in the local frame.
dwMatrix3f rotation Rotation matrix defining the orientation in the local frame.

◆ dwQuaterniond

struct dwQuaterniond
Data Fields
float64_t w
float64_t x
float64_t y
float64_t z

◆ dwQuaternionf

struct dwQuaternionf
Data Fields
float32_t w
float32_t x
float32_t y
float32_t z

◆ dwRect

struct dwRect
Data Fields
int32_t height
int32_t width
int32_t x
int32_t y

◆ dwRectf

struct dwRectf
Data Fields
float32_t height
float32_t width
float32_t x
float32_t y

Enumeration Type Documentation

◆ dwSide

enum dwSide

A generic side enum definition to improve consistency of objects with a 'side' concept Usage: define enum entity e.g.

DW_MAPS_SIDE_RIGHT = DW_SIDE_RIGHT

Enumerator
DW_SIDE_LEFT 
DW_SIDE_RIGHT 
DW_SIDE_CENTER 

Definition at line 49 of file GeometricTypes.h.