+ Add CountEdges to Python interface of Mesh class
This commit is contained in:
parent
37cc136310
commit
7b07bdfe10
|
@ -423,6 +423,12 @@ for p in mesh.Points:
|
|||
</Documentation>
|
||||
<Parameter Name="CountPoints" Type="Int" />
|
||||
</Attribute>
|
||||
<Attribute Name="CountEdges" ReadOnly="true">
|
||||
<Documentation>
|
||||
<UserDocu>Return the number of edges of the mesh object.</UserDocu>
|
||||
</Documentation>
|
||||
<Parameter Name="CountEdges" Type="Int" />
|
||||
</Attribute>
|
||||
<Attribute Name="Facets" ReadOnly="true">
|
||||
<Documentation>
|
||||
<UserDocu>A collection of facets
|
||||
|
|
|
@ -1498,6 +1498,11 @@ Py::Int MeshPy::getCountPoints(void) const
|
|||
return Py::Int((long)getMeshObjectPtr()->countPoints());
|
||||
}
|
||||
|
||||
Py::Int MeshPy::getCountEdges(void) const
|
||||
{
|
||||
return Py::Int((long)getMeshObjectPtr()->countEdges());
|
||||
}
|
||||
|
||||
Py::Int MeshPy::getCountFacets(void) const
|
||||
{
|
||||
return Py::Int((long)getMeshObjectPtr()->countFacets());
|
||||
|
|
Loading…
Reference in New Issue
Block a user