Method: RADMesh::STL#generate_shared_vertices!

Defined in:
lib/radmesh/stl.rb

#generate_shared_vertices!STL

Note:

There is also the same method without ! working as expected. It is not in this reference guide, because it is automatically generated.

Generates shared vertices.

Those are needed for some of the output formats. No need to call this manually.

Returns:

  • (STL)

    returns itself

[View source]

314
315
316
317
318
319
# File 'lib/radmesh/stl.rb', line 314

def generate_shared_vertices!
  check_facets_exact! unless @exact
  CADMesh.stl_generate_shared_vertices(@stl_ptr)
  @shared = true
  self
end