pyvista.ArrowSource

Contents

pyvista.ArrowSource#

class ArrowSource(
tip_length: float = 0.25,
tip_radius: float = 0.1,
tip_resolution: int = 20,
shaft_radius: float = 0.05,
shaft_resolution: int = 20,
)[source]#

Create a arrow source.

Added in version 0.44.

Parameters:
tip_lengthfloat, default: 0.25

Length of the tip.

tip_radiusfloat, default: 0.1

Radius of the tip.

tip_resolutionint, default: 20

Number of faces around the tip.

shaft_radiusfloat, default: 0.05

Radius of the shaft.

shaft_resolutionint, default: 20

Number of faces around the shaft.

Methods

Attributes

ArrowSource.output

Get the output data object for a port on this algorithm.

ArrowSource.shaft_radius

Get the radius of the shaft.

ArrowSource.shaft_resolution

Get the number of faces around the shaft.

ArrowSource.tip_length

Get the length of the tip.

ArrowSource.tip_radius

Get the radius of the tip.

ArrowSource.tip_resolution

Get the number of faces around the tip.