CircleShape

CircleShape

Cylinder around a circle of the form z = cst and w = cst Used for instance to draw a wireframe version of the Clifford torus

Constructor

new CircleShape(isom, cz, cw, radius)

Source:

Constructor The cylinder is the image by isom of the cylinder given by the equations z = cz and w = cw The UV map takes value in [-pi, pi] x [-pi, pi]. It is computed as follows

  • the u-coordinate is the distance between the origin and the projection of the on the "core" circle
  • the v-coordinate is such that v = 0 correspond to the point in the e_y direction
Parameters:
Name Type Description
isom Isometry

the position of the cylinder

cz number

value of the z-coordinate

cw number

value of the w-coordinate

radius number

the radius of the cylinder around the curve

Extends

Classes

CircleShape

Members

isBasicShape :boolean

Source:
Overrides:

Says whether the shape is a basic shape, that it is not build on top of other shapes.

Type:
  • boolean