Interface CrossSectionServices


public interface CrossSectionServices
Stateless services for the calculation of cross-sections. It is a wrapper to the stateful implementation in CrossSectionVisitor.
  • Method Details

    • compute

      static CrossSection3D compute(MeshModel mesh, CrossSectionConfig config)
      Returns a cross-section curve of the given mesh.
      Parameters:
      mesh - Mesh model to be inspected
      config - Configuration of the service
      Returns:
      result or null
    • compute

      static CrossSection3D compute(MeshFacet mesh, CrossSectionConfig config)
      Returns a cross-section curve of the given mesh.
      Parameters:
      mesh - Mesh facet to be inspected
      config - Configuration of the service
      Returns:
      result or null
    • compute

      static CrossSection3D compute(Collection<MeshFacet> mesh, CrossSectionConfig config)
      Returns a cross-section curve of the given mesh.
      Parameters:
      mesh - Mesh facets to be inspected
      config - Configuration of the service
      Returns:
      result or null