HoroballShape

HoroballShape

Shape of a hyperbolic horoball

Constructor

new HoroballShape(location, offset)

Source:

Construction

Parameters:
Name Type Description
location Isometry | Vector3

the location of the horoball.

  • if location is an Isometry, then the horoball is the image by this isometry of the horoball centered at the point [0,0,1,1]
  • if location is a Vector3, then the horoball is centered at [u_x, u_y,u_z, 1], where u = (u_x,u_y_u_z) is unit vector in the same direction. (seen as a point in the boundary at infinity of H3 in the hyperboloid model)
offset number

the radius od the ball

Classes

HoroballShape

Members

center

Source:

Center of the ball (at infinity)

isGlobal :boolean

Source:

Says whether the shape is global. True if global, false otherwise.

Type:
  • boolean

isHoroballShape :boolean

Source:

Says that the object inherits from HoroballShape

Type:
  • boolean

offset :number

Source:

Offset. The offset correspond to the image of the origin, by the SDF of the horoball. If the offset is positive, the origin is outside of the horoball

Type:
  • number