scpolytope.h
Go to the documentation of this file.
Definition of the boolean type. void EnlargeSPolytope(double *t, Tscpolytope *mp) Ensures that a polytompe includes a given point. Definition: scpolytope.c:170 void CopySPolytope(Tscpolytope *mp_dst, Tscpolytope *mp_src) Copies the simplified polytope from one chart to another. Definition: scpolytope.c:54 boolean RandomPointInSPolytope(double scale, double *t, Tscpolytope *mp) Random point on the polytope with uniform distribution. Definition: scpolytope.c:262 boolean SPolytopeRandomPointOnBoundary(double rSample, double *t, Tscpolytope *mp) Random point on the boundary of the chart. Definition: scpolytope.c:255 double GetSPolytopeBoxSide(Tscpolytope *mp) Returns the size of the box side. Definition: scpolytope.c:234 void CutSPolytopeWithFace(double *t, double offset, unsigned int id, Tscpolytope *mp) Cuts a simple polytope with a given plane. Definition: scpolytope.c:199 double GetSPolytopeRadius(Tscpolytope *mp) Returns the simple polytope radius. Definition: scpolytope.c:229 void DefineSPolytope(Tscpolytope *mp) Initial definition of the simple polytope bounding the local chart. Definition: scpolytope.c:43 unsigned int SPolytopeNumNeighbours(Tscpolytope *mp) Number of neighbours of the simple polytope. Definition: scpolytope.c:328 double SPolytopeMaxVolume(Tscpolytope *mp) Maximum volume of the simple polytope. Definition: scpolytope.c:300 void CutSPolytope(double *t, double r, unsigned int id, Tscpolytope *mp) Crops the polytope bounding chart with a plane. Definition: scpolytope.c:186 void SaveSPolytope(FILE *f, Tscpolytope *mp) Saves the chart polytope to a file. Definition: scpolytope.c:351 Definition of the Tbox type and the associated functions. double SPolytopeGetSamplingRadius(Tscpolytope *mp) Returns the current sampling radius. Definition: scpolytope.c:281 void DeleteSPolytope(Tscpolytope *mp) Deletes the structure allocated by DefineSPolytope. Definition: scpolytope.c:411 void InitEmptySPolytope(double delta, unsigned int k, double r, double sr, Tscpolytope *mp) Defines an empty chart simplieifed polytope. Definition: scpolytope.c:21 void GetSPolytopeFace(unsigned int n, double *f, Tscpolytope *mp) Gets a face. Definition: scpolytope.c:249 unsigned int GetSPolytopeNFaces(Tscpolytope *mp) Number of faces of a simple chart polytope. Definition: scpolytope.c:244 unsigned int DetermineSPolytopeNeighbour(double epsilon, double *t, Tscpolytope *mp) Identifes the neighbour containing a given point. Definition: scpolytope.c:105 unsigned int SPolytopeMemSize(Tscpolytope *mp) Computes the memory used by the polytope. Definition: scpolytope.c:341 unsigned int GetSPolytopeDim(Tscpolytope *mp) Returns the simple polytope dimensionality. Definition: scpolytope.c:239 void LoadSPolytope(FILE *f, Tscpolytope *mp) Reads the chart polytope from a file. Definition: scpolytope.c:377 boolean InsideSPolytope(double *t, Tscpolytope *mp) Identifies points inside a chart simple polytope. Definition: scpolytope.c:88 void SPolytopeIncreaseSamplingRadius(Tscpolytope *mp) Increases the sampling radius. Definition: scpolytope.c:286 void SPolytopeDecreaseSamplingRadius(Tscpolytope *mp) Decreases the sampling radious. Definition: scpolytope.c:293 unsigned int SPolytopeNeighbourID(unsigned int n, Tscpolytope *mp) Returns the identifier of one of the neighbours of a polytope. Definition: scpolytope.c:333 |
Follow us!