Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Geometry Namespace / UtilityEx Class / GetEntitiesStats Method / GetEntitiesStats(IList<Entity>,BlockKeyedCollection,Int32,Int32,Int32,Dictionary<Block,Dictionary<Type,Int32>>) Method
The collection of entities
The blocks to process.
The count of all the entities.
The count of all the vertices.
The count of all the triangles.
The dictionary with the entities details about blocks. Optional, can be null/Nothing.

In This Topic
    GetEntitiesStats(IList<Entity>,BlockKeyedCollection,Int32,Int32,Int32,Dictionary<Block,Dictionary<Type,Int32>>) Method
    In This Topic
    Get the statistics for a collection of entities.
    Syntax
    'Declaration
     
    Public Overloads Shared Function GetEntitiesStats( _
       ByVal entityList As IList(Of Entity), _
       ByVal blocks As BlockKeyedCollection, _
       ByRef entitiesCount As Integer, _
       ByRef verticesCount As Integer, _
       ByRef trianglesCount As Integer, _
       Optional ByVal blocksDetails As Dictionary(Of Block,Dictionary(Of Type,Integer)) _
    ) As Dictionary(Of Type,Integer)

    Parameters

    entityList
    The collection of entities
    blocks
    The blocks to process.
    entitiesCount
    The count of all the entities.
    verticesCount
    The count of all the vertices.
    trianglesCount
    The count of all the triangles.
    blocksDetails
    The dictionary with the entities details about blocks. Optional, can be null/Nothing.

    Return Value

    The dictionary with the count of each entity's type.
    Remarks
    The entities inside the blocks are processed only for the counting of vertices and triangles.
    See Also