DHART
Loading...
Searching...
No Matches
DHARTAPI.Geometry Namespace Reference

Manipulate and load geometry from disk. More...

Classes

class  CommonRotations
 A collection of rotations that are frequently useful in DHARTAPI. More...
 
class  MeshInfo
 A collection of vertices and indices representing geometry. More...
 
class  OBJLoader
 Load mesh geometry from OBJ files on disk. More...
 

Enumerations

enum  GROUP_METHOD
 Methods for seperating meshes when loading from OBJ. More...
 

Detailed Description

Manipulate and load geometry from disk.

The Geometry namespace contains all functionality in DHARTAPI for dealing with mesh Geometry. The fundamental datatype of DHARTAPI.Geometry is MeshInfo, which stores the vertices and indices of a mesh in unmanaged memory.

Remarks
Right now only OBJ files are supported for loading geometry from disk, however MeshInfo offers multiple constructors that accept arrays of vertices and indices so support for more formats can be developed.
See also
OBJLoader to load OBJ files from disk.
MeshInfo for details on how DHARTAPI represents mesh geometry, and how to convert a mesh into a format that DHART_API can use.

Enumeration Type Documentation

◆ GROUP_METHOD

Methods for seperating meshes when loading from OBJ.