Module LRSplines2D examples - SINTEF-Geometry/GoTools GitHub Wiki

Example programs related to lrsplines2D.

The programs can be found in the folder gotools/lrsplines2D/examples.

Example refine_lrsurf.C

This program demonstrates definition of an LR spline surface from a tensor-product spline surface and how to refine this surface with specified knot line segments.

Example evaluateLRSurface.C

This program demonstrates the various evaluation possibilities for an LR spline surface.

Example investigate_LRSplineSurface.C

This program demonstrates a set of enquire functionalities for an LR spline surface.

Example investigate_Element2D.C

This program reads an LR spline surface from file. It iterates trough all elements in the surface and demonstrate available enquiries.

Example approximateWithLRFunc.C

Given a point cloud that can be parameterized on its x- and y-coordinated, set appropriate parameters and approximate the points with an LR surface in 1D (function).

Example approximateParPointsWithLRSurf.C

Given a parameterized point cloud, set appropriate parameters and approximate the points with a 3D LR surface.

Example isoContoursLRFunc.C

Compute equally spaced contour curves from LR spline function.

Example comparePointsLRSurf3D.C

Compute distance between a points in a parameterized point cloud and the corresponding 3D surface. Collect points into groups according the this distance.

Example identify_and_resolve_linear_dependence.C

Identify B-splines involved in a linear dependence situation. Remove the dependence by applying structured mesh refinement to the main B-splines in the dependence relation.