#include <stdlib.h>
#include <stdio.h>
#include "support.h"
#include "list.h"
Go to the source code of this file.
|
ccd_pt_edge_t * | ccdPtAddEdge (ccd_pt_t *pt, ccd_pt_vertex_t *v1, ccd_pt_vertex_t *v2) |
|
ccd_pt_face_t * | ccdPtAddFace (ccd_pt_t *pt, ccd_pt_edge_t *e1, ccd_pt_edge_t *e2, ccd_pt_edge_t *e3) |
|
ccd_pt_vertex_t * | ccdPtAddVertex (ccd_pt_t *pt, const ccd_support_t *v) |
|
_ccd_inline ccd_pt_vertex_t * | ccdPtAddVertexCoords (ccd_pt_t *pt, ccd_real_t x, ccd_real_t y, ccd_real_t z) |
|
_ccd_inline int | ccdPtDelEdge (ccd_pt_t *pt, ccd_pt_edge_t *) |
|
_ccd_inline int | ccdPtDelFace (ccd_pt_t *pt, ccd_pt_face_t *) |
|
_ccd_inline int | ccdPtDelVertex (ccd_pt_t *pt, ccd_pt_vertex_t *) |
|
void | ccdPtDestroy (ccd_pt_t *pt) |
|
void | ccdPtDumpSVT (ccd_pt_t *pt, const char *fn) |
|
void | ccdPtDumpSVT2 (ccd_pt_t *pt, FILE *) |
|
_ccd_inline void | ccdPtEdgeFaces (const ccd_pt_edge_t *e, ccd_pt_face_t **f1, ccd_pt_face_t **f2) |
|
_ccd_inline void | ccdPtEdgeVec3 (const ccd_pt_edge_t *e, ccd_vec3_t **a, ccd_vec3_t **b) |
|
_ccd_inline void | ccdPtEdgeVertices (const ccd_pt_edge_t *e, ccd_pt_vertex_t **a, ccd_pt_vertex_t **b) |
|
_ccd_inline void | ccdPtFaceEdges (const ccd_pt_face_t *f, ccd_pt_edge_t **a, ccd_pt_edge_t **b, ccd_pt_edge_t **c) |
|
_ccd_inline void | ccdPtFaceVec3 (const ccd_pt_face_t *face, ccd_vec3_t **a, ccd_vec3_t **b, ccd_vec3_t **c) |
|
_ccd_inline void | ccdPtFaceVertices (const ccd_pt_face_t *face, ccd_pt_vertex_t **a, ccd_pt_vertex_t **b, ccd_pt_vertex_t **c) |
|
void | ccdPtInit (ccd_pt_t *pt) |
|
ccd_pt_el_t * | ccdPtNearest (ccd_pt_t *pt) |
|
void | ccdPtRecomputeDistances (ccd_pt_t *pt) |
|
◆ __CCD_PT_EL
Value: int type; \
ccd_real_t dist; \
ccd_vec3_t witness; \
ccd_list_t list;
Definition at line 35 of file polytope.h.
◆ CCD_PT_EDGE
◆ CCD_PT_FACE
◆ CCD_PT_VERTEX
◆ ccd_pt_edge_t
◆ ccd_pt_el_t
◆ ccd_pt_face_t
◆ ccd_pt_t
◆ ccd_pt_vertex_t
◆ ccdPtAddEdge()
◆ ccdPtAddFace()
◆ ccdPtAddVertex()
Adds vertex to polytope and returns pointer to newly created vertex.
◆ ccdPtAddVertexCoords()
◆ ccdPtDelEdge()
◆ ccdPtDelFace()
◆ ccdPtDelVertex()
Deletes vertex from polytope. Returns 0 on success, -1 otherwise.
Definition at line 187 of file polytope.h.
◆ ccdPtDestroy()
◆ ccdPtDumpSVT()
void ccdPtDumpSVT |
( |
ccd_pt_t * |
pt, |
|
|
const char * |
fn |
|
) |
| |
◆ ccdPtDumpSVT2()
void ccdPtDumpSVT2 |
( |
ccd_pt_t * |
pt, |
|
|
FILE * |
|
|
) |
| |
◆ ccdPtEdgeFaces()
◆ ccdPtEdgeVec3()
_ccd_inline void ccdPtEdgeVec3 |
( |
const ccd_pt_edge_t * |
e, |
|
|
ccd_vec3_t ** |
a, |
|
|
ccd_vec3_t ** |
b |
|
) |
| |
◆ ccdPtEdgeVertices()
◆ ccdPtFaceEdges()
◆ ccdPtFaceVec3()
_ccd_inline void ccdPtFaceVec3 |
( |
const ccd_pt_face_t * |
face, |
|
|
ccd_vec3_t ** |
a, |
|
|
ccd_vec3_t ** |
b, |
|
|
ccd_vec3_t ** |
c |
|
) |
| |
Returns vertices surrounding given triangle face.
Definition at line 251 of file polytope.h.
◆ ccdPtFaceVertices()
◆ ccdPtInit()
◆ ccdPtNearest()
Returns nearest element to origin.
◆ ccdPtRecomputeDistances()
void ccdPtRecomputeDistances |
( |
ccd_pt_t * |
pt | ) |
|
Recompute distances from origin for all elements in pt.