40 #ifndef GEOGRAM_BASIC_DEBUG_STREAM
41 #define GEOGRAM_BASIC_DEBUG_STREAM
67 void add_point(
const vec3& p);
68 void add_point(
const vec2& p);
69 void add_segment(
const vec3& p1,
const vec3& p2);
70 void add_segment(
const vec2& p1,
const vec2& p2);
78 static std::string filename(
83 std::string filename_;
Easy to use functions to save geometry to a Alias Wavefront .obj file for debugging.
~DebugStream()
DebugStream destructor.
DebugStream(const std::string &name, index_t id=index_t(-1))
DebugStream constructor.
Common include file, providing basic definitions. Should be included before anything else by all head...
Geometric functions in 2d and 3d.
Global Vorpaline namespace.
geo_index_t index_t
The type for storing and manipulating indices.