89. plugins.alt — Some additional classes.

class plugins.alt.BoundVectors(coords=None, origins=None, vectors=None)[source]

A collection of bound vectors in a 3D Cartesian space.

Parameters:

  • coords: a (…,2,3) shaped array of bound vectors defined by their initial and terminal points.

  • origins, vectors: (…,3) shaped arrays defining the initial points and vectors from initial to terminal points.

The default constructs a unit vector along the global x-axis.

origins()[source]

Return the initial points of the BoundVectors.

heads()[source]

Return the endpoints of the BoundVectors.

vectors()[source]

Return the vectors of the BoundVectors.