Readers, writers, converters

GSplines.set_boundary!Function

This function modifies the half edge data structure of a mesh re-defining some edges to be boundaries. It is done giving in input a matrix of indices identifying the end points of the edges (one edge per row) to be set as boundaries.

Example

  using GSplines, SemiAlgebraicTypes
  hm = hmesh(offdata("cube.off"))
  set_boundary!(hm, [1 2; 3 4])
source

Here is an example of how to set an edge as boundary and visualize it with 'Axl':

  using GSplines, SemiAlgebraicTypes, Axl
  
  hm = hmesh(offdata("cube.off")) # read the mesh and convert it in half edge structure
  set_boundary!(hm, [1 2])        # define the edge with indicized vertices [1 15] as boundary
  s1 = g1surface(hm)              # create the G1 surface on the modifies half mesh
  @axlview s1                     # view the surface using Axl

scube

GSplines.bsplineFunction

Extract the bspline representation of face f

source

Extract the bspline representations of the faces as a vector of bspline functions

source
GSplines.offdataFunction

Read the off data in the 'file' of the data repository.

m = offdata("cube.off")
source
GSplines.axldataFunction

Read the axl data in the 'file' of the data repository.

m = axldata("y1m1.axl")
source