v_sim.DataIter

Fields

Name

Type

Access

Description

boxXyz

[float]

r/w

the current node position, in reduced box coordinates.

parent

v_sim.NodeArrayIter

r/w

the parent v_sim.NodeArrayIter.

xyz

[float]

r/w

the current node position, in cartesian coordinates.

Methods

isValid ()

isVisible ()

next ()

Details

class v_sim.DataIter

A structure, expanding v_sim.NodeArrayIter, computing the current node position in cartesian or box coordinates.

New in version 3.9.

isValid()
Returns:

True if the iterator still have iteration to run over.

Return type:

bool

Test if the iterator is still valid.

New in version 3.9.

isVisible()
Returns:

True if the current node is valid and visible (resp. the current element).

Return type:

bool

Test if the current node or element is visible.

New in version 3.9.

next()
Returns:

True if the current node is valid (resp. the current element).

Return type:

bool

Step to the next node or element.

New in version 3.9.