Class: Axes

Axes(options)

new Axes(options)

An Axes object can be used to display the axis of a particular coordinate frame.

Parameters:
Name Type Description
options

object with following keys:

  • shaftRadius (optional) - the radius of the shaft to render
  • headRadius (optional) - the radius of the head to render
  • headLength (optional) - the length of the head to render
  • scale (optional) - the scale of the frame (defaults to 1.0)
  • lineType (optional) - the line type for the axes. Supported line types: 'dashed' and 'full'.
  • lineDashLength (optional) - the length of the dashes, relative to the length of the axis. Maximum value is 1, which means the dash length is equal to the length of the axis. Parameter only applies when lineType is set to dashed.
Source:

Methods

(inner) addAxis(axis)

Adds an axis marker to this axes object.

Parameters:
Name Type Description
axis

the 3D vector representing the axis to add

Source: