cpolytope.h
Go to the documentation of this file.
364 void PolytopeBoundaryPointsFromExternalCorners(double rSample,unsigned int *n,unsigned int **nv,
503 void GetPolytopeNeighboursFromVertices(unsigned int *nv,unsigned int **cID1,unsigned int **cID2,Tcpolytope *mp);
Definition of the boolean type. void WrongPolytopeCorner(unsigned int nv, Tcpolytope *mp) Mark a vertex as wrong. Definition: cpolytope.c:684 double GetPolytopeRadius(Tcpolytope *mp) Returns the simple polytope radius. Definition: cpolytope.c:654 Tbox * GetPolytopeBB(Tcpolytope *mp) Returns the simple polytope bounding box. Definition: cpolytope.c:664 unsigned int GetPolytopeDim(Tcpolytope *mp) Returns the simple polytope dimensionality. Definition: cpolytope.c:659 boolean PolytopeRandomPointOnBoundary(double rSample, double *t, Tcpolytope *mp) Random point on the boundary of the chart. Definition: cpolytope.c:908 boolean InsidePolytope(double *t, Tcpolytope *mp) Identifies points inside a chart polytope. Definition: cpolytope.c:329 void SPolytope2Polytope(Tparameters *pr, Tscpolytope *sp, Tcpolytope *p) Defines a chart polytope from a simple chart polytope. Definition: cpolytope.c:188 void GetPolytopeNeighboursFromVertices(unsigned int *nv, unsigned int **cID1, unsigned int **cID2, Tcpolytope *mp) Identifiy the three charts coincident at a vertex. Definition: cpolytope.c:1061 void SetPolytopeBB(Tbox *bb, Tcpolytope *mp) Modifies the bounding box of the polytope. Definition: cpolytope.c:672 Definition of the Tbox type and the associated functions. void Polytope2SPolytope(Tparameters *pr, Tcpolytope *p, Tscpolytope *sp) Defines a simple chart polytope from a normal/full chart polytope. Definition: cpolytope.c:212 void InitEmptyPolytope(unsigned int k, double r, Tcpolytope *mp) Defines an empty chart polytope. Definition: cpolytope.c:65 void SavePolytope(FILE *f, Tcpolytope *mp) Saves the chart polytope to a file. Definition: cpolytope.c:1187 void GetPolytopeEdges(unsigned int *ne, unsigned int **vID1, unsigned int **vID2, Tcpolytope *mp) Gets the set of edges of the polytope. Definition: cpolytope.c:1126 A table of parameters. boolean GetPolytopeInteriorPoint(double rSample, double *t, Tcpolytope *mp) Returns a point inside the ball and the polytope. Definition: cpolytope.c:693 boolean PolytopeBoundaryPointFromExternalCorner(double rSample, boolean rand, unsigned int *nv, double *t, Tcpolytope *mp) Random point on the boundary from the polytope vetices. Definition: cpolytope.c:847 unsigned int PolytopeNumNeighbours(Tcpolytope *mp) Number of neighbours of the polytope. Definition: cpolytope.c:974 void DeletePolytope(Tcpolytope *mp) Deletes the structure allocated by DefinePolytope. Definition: cpolytope.c:1380 unsigned int PolytopeNeighbourID(unsigned int n, Tcpolytope *mp) Returns the identifier of one of the neighbours of a polytope. Definition: cpolytope.c:992 Definition of a smple polytope associated to a chart. boolean CutPolytope(Tparameters *pr, double *t, double r, unsigned int id, void *wcs, void *c, unsigned int m, unsigned int *tp, Tbox *ambient, Tcpolytope *mp) Crops the polytope bounding chart with a plane. Definition: cpolytope.c:396 unsigned int PolytopeMemSize(Tcpolytope *mp) Computes the memory used by the polytope. Definition: cpolytope.c:1169 boolean RandomPointInPolytope(double *t, Tcpolytope *mp) Random point on the polytope with uniform distribution. Definition: cpolytope.c:914 void PolytopeBoundaryPointsFromExternalCorners(double rSample, unsigned int *n, unsigned int **nv, double ***t, Tcpolytope *mp) Points on boundary from all the polytope vertexes. Definition: cpolytope.c:876 Macros and functions to operate on worlds/cuiksystems. void GetPolytopeVertices(unsigned int *nv, double ***v, Tcpolytope *mp) Gets the set of vertices of the polytope. Definition: cpolytope.c:1027 void PrintPolytopeInfo(Tcpolytope *mp) Prints information about the polytope. Definition: cpolytope.c:1350 void LoadPolytope(FILE *f, Tcpolytope *mp) Reads the chart polytope from a file. Definition: cpolytope.c:1252 void DefinePolytope(Tcpolytope *mp) Initial definition of the polytope bounding the local chart. Definition: cpolytope.c:77 void CopyPolytope(Tcpolytope *mp_dst, Tcpolytope *mp_src) Copies the polytope from one chart to another. Definition: cpolytope.c:229 Definition of the Tparameters type and the associated functions. boolean ExpandiblePolytope(Tcpolytope *mp) Identifies polytopes not fully bounded. Definition: cpolytope.c:679 boolean CutPolytopeWithFace(Tparameters *pr, double *t, double offset, unsigned int id, void *wcs, void *c, unsigned int m, unsigned int *tp, Tbox *ambient, Tcpolytope *mp) Cuts a polytope with a given plane. Definition: cpolytope.c:412 void PolytopeCenter(double *t, Tcpolytope *mp) Computes the center of the polytope. Definition: cpolytope.c:301 |
Follow us!