pyCAPS
pyCAPS: A Python Extension Module for CAPS
Loading...
Searching...
No Matches
VertexSet Class Reference

Defines a CAPS VertexSet Object. More...

Inherits object.

Public Member Functions

 name (self)
 Property returns the name of the CAPS VertexSet Object.
 
 history (self)
 Returns the history list of the CAPS VertexSet Object.
 
 getDataConnect (self)
 Executes caps_getTriangles on data set's vertex set to retrieve the connectivity (triangles only) information for the data set.
 

Detailed Description

Defines a CAPS VertexSet Object.

Created via Bound.vertexSet.create().

Parameters
VertexSet.dataSetDataSetSequence of DataSet instances
VertexSet.attrAttrSequence of ValueIn attributes

Member Function Documentation

◆ getDataConnect()

getDataConnect (   self)

Executes caps_getTriangles on data set's vertex set to retrieve the connectivity (triangles only) information for the data set.

Returns
Optionally returns a list of lists of connectivity values (e.g. [ [node1, node2, node3], [node2, node3, node7], etc. ] ) and a list of lists of data connectivity (not this is an empty list if the data is node-based) (eg. [ [node1, node2, node3], [node2, node3, node7], etc. ]

The documentation for this class was generated from the following file: