Solids

Global solids

class geometries.sph.solids.Ball.Ball(location, radius, material, ptMaterial)

Hyperbolic ball

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.sph.solids.Ball.Ball.Ball

Constructor

class geometries.sph.solids.Circle.Circle(isom, cz, cw, radius, material, ptMaterial)

Cylinder around the curve with equations z = cz and w = cw (or more precisely, its image by the isometry)

Constructor

Arguments:
  • isom (Isometry) – the location 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

  • material (Material) – the material of the cylinder

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

geometries.sph.solids.Circle.Circle.Circle

Constructor

class geometries.sph.solids.CliffordTorus.CliffordTorus(location, material, ptMaterial)

Clifford Torus

Constructor

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

  • material (Material) – the material of the ball

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

geometries.sph.solids.CliffordTorus.CliffordTorus.CliffordTorus

Constructor

class geometries.sph.solids.Cylinder.Cylinder(location, radius, material, ptMaterial)

Cylinder in spherical geometry

Constructor

Arguments:
  • location (Isometry) – the location of the cylinder

  • radius (number) – the radius of the cylinder

  • material (Material) – the material of the cylinder

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

geometries.sph.solids.Cylinder.Cylinder.Cylinder

Constructor

class geometries.sph.solids.HalfSpace.HalfSpace(location, material, ptMaterial)

Half space

Constructor

Arguments:
  • location (Isometry) – the location of the half space

  • material (Material) – the material of the ball

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

geometries.sph.solids.HalfSpace.HalfSpace.HalfSpace

Constructor

Local solids

class geometries.sph.solids.LocalBall.LocalBall(location, radius, material, ptMaterial)

Hyperbolic ball

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.sph.solids.LocalBall.LocalBall.LocalBall

Constructor

class geometries.sph.solids.LocalCylinder.LocalCylinder(isom, radius, material, ptMaterial)

Spherical cylinder

Constructor

Arguments:
  • isom (Isometry) – the location of the cylinder

  • radius (number) – the radius of the cylinder

  • material (Material) – the material of the cylinder

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

geometries.sph.solids.LocalCylinder.LocalCylinder.LocalCylinder

Constructor