Graphite  Version 3
An experimental 3D geometry processing program
defs.h File Reference

Basic definitions for the Geogram C API. More...

Go to the source code of this file.

Macros

#define GEO_IMPORT
 Linkage declaration for geogram symbols.
 
#define GEO_EXPORT
 
#define GEOGRAM_API   GEO_IMPORT
 
#define NO_GEOGRAM_API
 A place-holder linkage declaration to indicate that the symbol should not be exported by Windows DLLs. More...
 

Typedefs

typedef int GeoMesh
 Opaque identifier of a mesh. More...
 
typedef unsigned char geo_coord_index_t
 Represents dimension (e.g. 3 for 3d, 4 for 4d ...). More...
 
typedef unsigned int geo_index_t
 Represents indices. More...
 
typedef int geo_signed_index_t
 Represents possibly negative indices. More...
 
typedef double geo_coord_t
 Represents floating-point coordinates. More...
 
typedef int geo_boolean
 Represents truth values. More...
 

Enumerations

enum  { GEO_FALSE = 0 , GEO_TRUE = 1 }
 Thruth values (geo_boolean). More...
 

Detailed Description

Basic definitions for the Geogram C API.

Definition in file defs.h.

Macro Definition Documentation

◆ NO_GEOGRAM_API

#define NO_GEOGRAM_API

A place-holder linkage declaration to indicate that the symbol should not be exported by Windows DLLs.

For instance, classes that inherit templates from the STL should not be exported, else it generates multiply defined symbols.

Definition at line 93 of file defs.h.

Typedef Documentation

◆ geo_boolean

typedef int geo_boolean

Represents truth values.

Used by the C API.

Definition at line 153 of file defs.h.

◆ geo_coord_index_t

typedef unsigned char geo_coord_index_t

Represents dimension (e.g. 3 for 3d, 4 for 4d ...).

Used by the C API.

Definition at line 105 of file defs.h.

◆ geo_coord_t

typedef double geo_coord_t

Represents floating-point coordinates.

Used by the C API.

Definition at line 147 of file defs.h.

◆ geo_index_t

typedef unsigned int geo_index_t

Represents indices.

Used by the C API.

Definition at line 133 of file defs.h.

◆ geo_signed_index_t

typedef int geo_signed_index_t

Represents possibly negative indices.

Used by the C API.

Definition at line 139 of file defs.h.

◆ GeoMesh

typedef int GeoMesh

Opaque identifier of a mesh.

Used by the C API.

Definition at line 99 of file defs.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Thruth values (geo_boolean).

Used by the C API.

Definition at line 159 of file defs.h.