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:1458 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:1332 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:1066 unsigned int GetChartManifoldDim(Tchart *c) Dimensionality of the manifold space. Definition: chart.c:965 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:1364 double GetChartSamplingRadius(Tchart *c) Returns de sampling range of the chart. Definition: chart.c:943 void LoadChart(FILE *f, TAtlasBase *w, Tchart *c) Defines a chart from the information on a file. Definition: chart.c:1932 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:1247 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:816 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:792 unsigned int ChartNeighbourID(unsigned int n, Tchart *c) Returns the identifier of one of the neighbours of a chart. Definition: chart.c:1687 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:1356 unsigned int GetChartDegree(Tparameters *pr, double *T, TJacobian *sJ, boolean *singular, Tchart *c) Returns the chart degree. Definition: chart.c:985 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:1546 unsigned int GetChartAmbientDim(Tchart *c) Dimensionality of the ambient space. Definition: chart.c:960 void DecreaseChartSamplingRadius(Tchart *c) Decrease the sampling radious of the chart. Definition: chart.c:1385 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:1264 unsigned int ChartNumNeighbours(Tchart *c) Number of neighbours of the chart. Definition: chart.c:1675 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:824 double GetChartMaxError(Tchart *c) Returns the maximum error between the chart and the manifold. Definition: chart.c:950 double MinCosinusBetweenCharts(Tchart *c1, Tchart *c2) Computes the angle between the tangent spaces in the charts. Definition: chart.c:920 boolean OpenChart(Tchart *c) Identifies charts not fully sorrounded by other charts. Definition: chart.c:1300 double Manifold2Chart(double *p, unsigned int *tp, double *t, Tchart *c) Returns the parametrization of a point. Definition: chart.c:1036 boolean BoundaryPointFromExternalCorner(boolean rand, unsigned int *nv, double *t, Tchart *c) Random point on the chart boundary from the polytope vetices. Definition: chart.c:1340 boolean * GetChartJacobianBasis(Tchart *c) Gets the index of the basis of the Jacobian vectors forming a basis. Definition: chart.c:975 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:808 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:800 unsigned int DetermineChartNeighbour(double epsilon, double *t, Tchart *c) Determines the neighbouring chart containing a given point. Definition: chart.c:1321 void LinkCharts(unsigned int id1, Tchart *c1, unsigned int id2, Tchart *c2) Connect charts at singularities. Definition: chart.c:1669 double GetChartMaxCurvError(Tchart *c) Returns the maximum oriented curvature error between the chart and the manifold. Definition: chart.c:955 boolean PointOnChart(Tparameters *pr, TJacobian *sJ, double *p, unsigned int *tp, double *t, Tchart *c) Identify points on a chart. Definition: chart.c:1602 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:1726 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:1348 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:901 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:1477 double ChartErrorFromParameters(double *t, double *p, unsigned int *tp, Tchart *c) Identifies points inside the defined error. Definition: chart.c:1229 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:1629 TAtlasBase * GetChartWorld(Tchart *c) Returns the world defining the manifold. Definition: chart.c:928 double ChartVolume(Tparameters *pr, boolean collisionFree, unsigned int *tp, TJacobian *sJ, Tchart *c) Estimate the volume of a chart. Definition: chart.c:1406 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:1270 void IncreaseChartSamplingRadius(Tchart *c) Increase the sampling radious of the chart. Definition: chart.c:1379 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:1313 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:1704 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:1212 |
Follow us!