Skip to content

Adjacency matrix as in meshes #1

Description

@petrasvestartas

Dear Sir,

I would like to ask if there is a very specific function in your library GeometryClassLibrary.

I want to get adjacency of all faces in polyhedron.
For instance, polyhedron.Polygons[0].GetNeighbourPolygons()
It looks that your library is very well developed polygon library, but do polygons "know" which neighbors do they have?

In meshes this is a so called adjacency matrix of vertices,edges and faces. It is a must thing in a mesh as it is similar to graph data structure. Does a polyhedron has something similar or polygons are only discrete elements that does not relate to each other?

https://s28.postimg.org/jfal16b8t/Polyhedron_Convex_1000.jpg

Thank you for a reply.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions