Go to the documentation of this file.
18 #ifndef __CCD_POLYTOPE_H__
19 #define __CCD_POLYTOPE_H__
30 #define CCD_PT_VERTEX 1
139 ccd_real_t x, ccd_real_t y, ccd_real_t z);
180 ccd_real_t x, ccd_real_t y, ccd_real_t z)
183 ccdVec3Set(&s.
v, x, y, z);
196 if ((
void *)pt->
nearest == (
void *)v){
208 if (e->
faces[0] != NULL)
218 if ((
void *)pt->
nearest == (
void *)e){
232 for (i = 0; i < 3; i++){
234 if (e->
faces[0] == f){
243 if ((
void *)pt->
nearest == (
void *)f){
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_EL ccd_pt_edge_t * edge[3]
Reference to surrounding edges.
_ccd_inline void ccdPtFaceVec3(const ccd_pt_face_t *face, ccd_vec3_t **a, ccd_vec3_t **b, ccd_vec3_t **c)
ccd_pt_edge_t * ccdPtAddEdge(ccd_pt_t *pt, ccd_pt_vertex_t *v1, ccd_pt_vertex_t *v2)
ccd_list_t faces
List of faces.
ccd_pt_el_t * ccdPtNearest(ccd_pt_t *pt)
ccd_list_t edges
List of edges.
void ccdPtInit(ccd_pt_t *pt)
ccd_vec3_t v
Support point in minkowski sum.
_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)
void ccdPtDumpSVT(ccd_pt_t *pt, const char *fn)
ccd_list_t vertex_list[2]
List items in vertices' lists.
void ccdPtDumpSVT2(ccd_pt_t *pt, FILE *)
_ccd_inline int ccdListEmpty(const ccd_list_t *head)
_ccd_inline void ccdPtEdgeFaces(const ccd_pt_edge_t *e, ccd_pt_face_t **f1, ccd_pt_face_t **f2)
void ccdPtDestroy(ccd_pt_t *pt)
_ccd_inline int ccdPtDelEdge(ccd_pt_t *pt, ccd_pt_edge_t *)
_ccd_inline void ccdListDel(ccd_list_t *item)
_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 ccdPtDelFace(ccd_pt_t *pt, ccd_pt_face_t *)
_ccd_inline int ccdPtDelVertex(ccd_pt_t *pt, ccd_pt_vertex_t *)
ccd_pt_vertex_t * ccdPtAddVertex(ccd_pt_t *pt, const ccd_support_t *v)
_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_list_t edges
List of edges.
struct _ccd_pt_face_t * faces[2]
Reference to faces.
_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 ccdPtRecomputeDistances(ccd_pt_t *pt)
ccd_list_t vertices
List of vertices.
__CCD_PT_EL ccd_pt_vertex_t * vertex[2]
Reference to vertices.
fcl
Author(s):
autogenerated on Tue Dec 5 2023 03:40:48