Skip to content

Add an API for extracting cross-section information #120

@lucacarniato

Description

@lucacarniato

@veenstrajelmer would like to add an API that exports the geometrical information about cross sections. The use case is shown in this figure

crosssection

For each crossed face the API should return its index AND the coordinates of the two intersections (green dots). The order must be increased along the line direction (in the figure above the order will be [0,1,5,6,7,11]).

Important notes:

  • The face indices are provided in the netCDF file and the Mesh2D parameter in mkernel_mesh2d_set must contain the face nodes information
  • To limit the search of the potential crossed faces, the m_facesRTree RTree with a search radius could be used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions