File: mesh_index.h

package info (click to toggle)
png23d 1.10-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 9,020 kB
  • sloc: ansic: 1,951; makefile: 58; sh: 9
file content (25 lines) | stat: -rw-r--r-- 711 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 * Copyright 2011 Vincent Sanders <vince@kyllikki.org>
 *
 * Licenced under the MIT License,
 *                http://www.opensource.org/licenses/mit-license.php
 *
 * This file is part of png23d. 
 * 
 * mesh generation bloom filter.
 */

#ifndef PNG23D_MESH_INDEX_H
#define PNG23D_MESH_INDEX_H 1

/** add a facet to a vndexed vertex */
bool add_facet_to_vertex(struct mesh *mesh, struct facet *facet, idxvtx ivertex);

/** remove a facet to a vndexed vertex */
bool remove_facet_from_vertex(struct mesh *mesh, struct facet *facet, idxvtx ivertex);

/** update the mesh geometry index representation */
bool index_mesh(struct mesh *mesh, unsigned int bloom_complexity, unsigned int vertex_fcount);

#endif