Solids

Global solids

class geometries.sl2.solids.FakeBall.FakeBall(location, radius, material, ptMaterial)

Fake ball in SL(2,R).

Constructor.

Arguments:
  • location (Isometry|Point|Vector) – the location of the ball

  • radius (number) – the radius of the ball

  • material (Material) – the material of the ball

  • ptMaterial (PTMaterial) – material for path tracing (optional)

geometries.sl2.solids.FakeBall.FakeBall.FakeBall

Constructor.

Local solids

class geometries.sl2.solids.LocalFakeBall.LocalFakeBall(location, radius, material, ptMaterial)

Fake ball in SL(2,R).

Constructor.

Arguments:
  • location (Isometry|Point|Vector) – the location of the ball

  • radius (number) – the radius of the ball

  • material (Material) – the material of the ball

  • ptMaterial (PTMaterial) – material for path tracing (optional)

geometries.sl2.solids.LocalFakeBall.LocalFakeBall.LocalFakeBall

Constructor.

class geometries.sl2.solids.LocalPotato.LocalPotato(location, radius, wRescale, material, ptMaterial)

Fake ball in SL(2,R).

Constructor.

Arguments:
  • location (Isometry|Point|Vector) – the location of the ball

  • radius (number) – the radius of the ball

  • wRescale (number) – rescaling coeff on the fiber coordinate

  • material (Material) – the material of the ball

  • ptMaterial (PTMaterial) – material for path tracing (optional)

geometries.sl2.solids.LocalPotato.LocalPotato.LocalPotato

Constructor.