Cylinder ⇐ Objsim

Class representing a cylinder.

Kind: global class
Extends: Objsim

new Cylinder(_radius, _height, _color)

Creates a cylinder.

Param Type Description
_radius number radius of the cylinder in meters.
_height number height of the cylinder in meters.
_color \* color of the cylinder in RGB/Hexadecimal/etc…

cylinder.setHTM(m)

Sets the homogeneous transformation matrix that represents the position of the object as the position of the object.

Kind: instance method of Cylinder
Overrides: setHTM

Param Type Description
m object 4x4 math.js homogeneous transformation matrix that represents the position of the object.