chart.h
Go to the documentation of this file.
175 unsigned int InitPossiblySingularChart(Tparameters *pr,boolean simple,Tbox *domain,unsigned int *tp,
827 void BoundaryPointsFromExternalCorners(unsigned int *n,unsigned int **nv,double ***t,Tchart *c);
Definition of the boolean type. boolean FocusedPointOnBoundary(double *p, unsigned int *tp, double *t, Tchart *c) Generates point on the boundary towards a given goal. Definition: chart.c:1461 void ForceChartCut(Tparameters *pr, unsigned int *tp, Tbox *ambient, unsigned int id1, Tchart *c1, unsigned int id2, Tchart *c2) Intersect two charts that might be non-neighbours. Definition: chart.c:265 void EnlargeChart(double *t, Tchart *c) Ensures that a chart includes a given point. Definition: chart.c:1335 Definition of basic functions. double Chart2Manifold(Tparameters *pr, TJacobian *sJ, double *t, unsigned int *tp, double *pInit, double *p, Tchart *c) Returns the point in the manifold for a given set of parameteres. Definition: chart.c:1069 unsigned int GetChartManifoldDim(Tchart *c) Dimensionality of the manifold space. Definition: chart.c:968 boolean RandomPointInChart(Tparameters *pr, double scale, unsigned int *tp, double *t, double *p, Tchart *c) Samples a random point in the area covered by the chart. Definition: chart.c:1367 double GetChartSamplingRadius(Tchart *c) Returns de sampling range of the chart. Definition: chart.c:946 void LoadChart(FILE *f, TAtlasBase *w, Tchart *c) Defines a chart from the information on a file. Definition: chart.c:1935 Definition of the TJacobian type and the associated functions. double Error2Chart(double *p, unsigned int *tp, Tchart *c) Distance from the manifold to the tangent space. Definition: chart.c:1250 unsigned int InitTrustedChart(Tparameters *pr, boolean simple, Tbox *domain, unsigned int *tp, unsigned int m, unsigned int k, double *p, double e, double eCurv, double r, TJacobian *sJ, TAtlasBase *w, Tchart *c) Constructor. Definition: chart.c:819 unsigned int InitChart(Tparameters *pr, boolean simple, Tbox *domain, unsigned int *tp, unsigned int m, unsigned int k, double *p, double e, double eCurv, double r, TJacobian *sJ, TAtlasBase *w, Tchart *c) Constructor. Definition: chart.c:795 unsigned int ChartNeighbourID(unsigned int n, Tchart *c) Returns the identifier of one of the neighbours of a chart. Definition: chart.c:1690 Definition of the Tplot3d type and the associated functions. boolean RandomPointOnBoundary(double *t, Tchart *c) Random point on the boundary of the chart. Definition: chart.c:1359 unsigned int GetChartDegree(Tparameters *pr, double *T, TJacobian *sJ, boolean *singular, Tchart *c) Returns the chart degree. Definition: chart.c:988 double DistanceOnChart(Tparameters *pr, double *t, unsigned int *tp, TJacobian *sJ, Tchart *c) Distance between the center of a chart and a point on this chart. Definition: chart.c:1549 unsigned int GetChartAmbientDim(Tchart *c) Dimensionality of the ambient space. Definition: chart.c:963 void DecreaseChartSamplingRadius(Tchart *c) Decrease the sampling radious of the chart. Definition: chart.c:1388 Definition of a polytope associated to a chart. Definition of the Tworld type and the associated functions. boolean CloseCharts(Tparameters *pr, unsigned int *tp, Tchart *c1, Tchart *c2) Identifies close local charts. Definition: chart.c:1267 unsigned int ChartNumNeighbours(Tchart *c) Number of neighbours of the chart. Definition: chart.c:1678 unsigned int InitChartWithTangent(Tparameters *pr, boolean simple, Tbox *domain, unsigned int *tp, unsigned int m, unsigned int k, double *p, double *T, double e, double eCurv, double r, TJacobian *sJ, TAtlasBase *w, Tchart *c) Constructor. Definition: chart.c:827 double GetChartMaxError(Tchart *c) Returns the maximum error between the chart and the manifold. Definition: chart.c:953 double MinCosinusBetweenCharts(Tchart *c1, Tchart *c2) Computes the angle between the tangent spaces in the charts. Definition: chart.c:923 boolean OpenChart(Tchart *c) Identifies charts not fully sorrounded by other charts. Definition: chart.c:1303 double Manifold2Chart(double *p, unsigned int *tp, double *t, Tchart *c) Returns the parametrization of a point. Definition: chart.c:1039 boolean BoundaryPointFromExternalCorner(boolean rand, unsigned int *nv, double *t, Tchart *c) Random point on the chart boundary from the polytope vetices. Definition: chart.c:1343 boolean * GetChartJacobianBasis(Tchart *c) Gets the index of the basis of the Jacobian vectors forming a basis. Definition: chart.c:978 A table of parameters. Definition of the TCuikSystem type and the associated functions. unsigned int InitSingularChart(Tparameters *pr, boolean simple, Tbox *domain, unsigned int *tp, unsigned int m, unsigned int k, double *p, double e, double eCurv, double r, TJacobian *sJ, TAtlasBase *w, Tchart *c) Constructor. Definition: chart.c:811 unsigned int InitPossiblySingularChart(Tparameters *pr, boolean simple, Tbox *domain, unsigned int *tp, unsigned int m, unsigned int k, double *p, double e, double eCurv, double r, TJacobian *sJ, TAtlasBase *w, Tchart *c) Constructor. Definition: chart.c:803 unsigned int DetermineChartNeighbour(double epsilon, double *t, Tchart *c) Determines the neighbouring chart containing a given point. Definition: chart.c:1324 void LinkCharts(unsigned int id1, Tchart *c1, unsigned int id2, Tchart *c2) Connect charts at singularities. Definition: chart.c:1672 double GetChartMaxCurvError(Tchart *c) Returns the maximum oriented curvature error between the chart and the manifold. Definition: chart.c:958 boolean PointOnChart(Tparameters *pr, TJacobian *sJ, double *p, unsigned int *tp, double *t, Tchart *c) Identify points on a chart. Definition: chart.c:1605 void PlotChart(Tparameters *pr, FILE *fcost, TJacobian *sJ, unsigned int xID, unsigned int yID, unsigned int zID, Tplot3d *p3d, Tchart *c) Plots a 3d projection of a local chart. Definition: chart.c:1729 void BoundaryPointsFromExternalCorners(unsigned int *n, unsigned int **nv, double ***t, Tchart *c) All the possible points on the chart's boundary from polytope vertices. Definition: chart.c:1351 Definition of a smple polytope associated to a chart. boolean CompareTangentSpaces(Tchart *c1, Tchart *c2) Checks if the tangent spaces are similar. Definition: chart.c:904 boolean PathInChart(Tparameters *pr, double *t, unsigned int *tp, TJacobian *sJ, unsigned int nvs, boolean *systemVars, unsigned int *ms, double *pl, unsigned int *ns, double ***path, Tchart *c) Defines the path to a point in the chart. Definition: chart.c:1480 double ChartErrorFromParameters(double *t, double *p, unsigned int *tp, Tchart *c) Identifies points inside the defined error. Definition: chart.c:1232 unsigned int ClassifyPointInChart(Tparameters *pr, boolean error, TJacobian *sJ, double *p, unsigned int *tp, double *t, Tchart *c) Identifies the position of a point w.r.t. a given chart. Definition: chart.c:1632 TAtlasBase * GetChartWorld(Tchart *c) Returns the world defining the manifold. Definition: chart.c:931 double ChartVolume(Tparameters *pr, boolean collisionFree, unsigned int *tp, TJacobian *sJ, Tchart *c) Estimate the volume of a chart. Definition: chart.c:1409 boolean IntersectCharts(Tparameters *pr, unsigned int *tp, Tbox *ambient, unsigned int id1, Tchart *c1, unsigned int id2, Tchart *c2) Intersects two local charts. Definition: chart.c:1273 void IncreaseChartSamplingRadius(Tchart *c) Increase the sampling radious of the chart. Definition: chart.c:1382 void AddBorderConstraint(Tparameters *pr, double *t, unsigned int *tp, Tbox *ambient, Tchart *c) Crops the domain for a given chart. Definition: chart.c:229 Definition of the Tparameters type and the associated functions. boolean InsideChartPolytope(double *t, Tchart *c) Checks if a parameter point is inside the chart polytope. Definition: chart.c:1316 void GetChartNeighboursFromVertices(Tparameters *pr, unsigned int *nn, unsigned int **cID1, unsigned int **cID2, Tchart *c) Returns the identifier of neighbouring charts coincident at a vertex. Definition: chart.c:1707 void Local2Global(double *t, unsigned int *tp, double *p, Tchart *c) Transforms a parameter in tangent space to a point in ambient space. Definition: chart.c:1215 |
Follow us!