InputsEdgeDecimation#

class ansys.dpf.core.operators.mesh.edge_decimation.InputsEdgeDecimation(op: ansys.dpf.core.dpf_operator.Operator)#

Bases: ansys.dpf.core.inputs._Inputs

Intermediate class used to connect user inputs to edge_decimation operator.

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.mesh.edge_decimation()
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
>>> my_angular_limit_in_radian = float()
>>> op.inputs.angular_limit_in_radian.connect(my_angular_limit_in_radian)

Overview#

connect

Connect any input (an entity or an operator output) to any input pin of this operator.

mesh

Allows to connect mesh input to the operator.

angular_limit_in_radian

Allows to connect angular_limit_in_radian input to the operator.

Import detail#

from ansys.dpf.core.operators.mesh.edge_decimation import InputsEdgeDecimation

Property detail#

property InputsEdgeDecimation.mesh: ansys.dpf.core.inputs.Input[ansys.dpf.core.meshed_region.MeshedRegion]#

Allows to connect mesh input to the operator.

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.mesh.edge_decimation()
>>> op.inputs.mesh.connect(my_mesh)
>>> # or
>>> op.inputs.mesh(my_mesh)
property InputsEdgeDecimation.angular_limit_in_radian: ansys.dpf.core.inputs.Input[float]#

Allows to connect angular_limit_in_radian input to the operator.

angle threshold in radian that will trigger an edge removal.

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.mesh.edge_decimation()
>>> op.inputs.angular_limit_in_radian.connect(my_angular_limit_in_radian)
>>> # or
>>> op.inputs.angular_limit_in_radian(my_angular_limit_in_radian)

Method detail#

InputsEdgeDecimation.__str__()#
InputsEdgeDecimation.connect(inpt)#

Connect any input (an entity or an operator output) to any input pin of this operator.

Searches for the input type corresponding to the output.

Deprecated since version Deprecated: in favor of explicit output-to-input connections.

InputsEdgeDecimation.__call__(inpt)#
InputsEdgeDecimation.__getitem__(item) → Input#