Skip to content

Class Argos::HoleInfo

ClassList > Argos > HoleInfo

Describes a hole discovered in the mesh topology. More...

  • #include <TopologicMesh.h>

Public Functions

Type Name
HoleInfo (std::vector< Vector3D< double > > vertices)
Construct a HoleInfo from the vertices along the hole boundary.
double circumference () const
Approximate circumference of the hole (sum of edge lengths).
std::vector< Vector3D< double > > getVertices () const
Vertices on the hole boundary.

Detailed Description

A hole is a loop of border edges with no adjacent face on one side.

Public Functions Documentation

function HoleInfo

Construct a HoleInfo from the vertices along the hole boundary.

Argos::HoleInfo::HoleInfo (
    std::vector< Vector3D < double > > vertices
) 

Parameters:

  • vertices Ordered vertices forming the hole loop.

function circumference

Approximate circumference of the hole (sum of edge lengths).

double Argos::HoleInfo::circumference () const


function getVertices

Vertices on the hole boundary.

std::vector< Vector3D < double > > Argos::HoleInfo::getVertices () const



The documentation for this class was generated from the following file include/mesh/TopologicMesh.h