Solids

Global solids

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

Ball in Nil.

Constructor.

Arguments:
  • location (Isometry|Point) – 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.nil.solids.Ball.Ball.Ball

Constructor.

class geometries.nil.solids.DirectedVerticalHalfSpace.DirectedVerticalHalfSpace(isom, material, ptMaterial)

Vertical half space in Nil

Constructor.

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

  • material (Material) – the material of the ball

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

geometries.nil.solids.DirectedVerticalHalfSpace.DirectedVerticalHalfSpace.DirectedVerticalHalfSpace

Constructor.

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

Fake ball in Nil.

Constructor.

Arguments:
  • location (Isometry|Point) – 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.nil.solids.FakeBall.FakeBall.FakeBall

Constructor.

class geometries.nil.solids.StraightGeo.StraightGeo(isom, radius, material, ptMaterial)

Straight geodesic in Nil

Constructor.

Arguments:
  • isom (Isometry) – the isometry locating the cylinder

  • radius (number) – the radius of the cylinder

  • material (Material) – the material of the ball

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

geometries.nil.solids.StraightGeo.StraightGeo.StraightGeo

Constructor.

class geometries.nil.solids.VerticalCylinder.VerticalCylinder(isom, radius, material, ptMaterial)

Vertical cylinder in Nil

Constructor.

Arguments:
  • isom (Isometry) – the isometry locating the cylinder

  • radius (number) – the radius of the cylinder

  • material (Material) – the material of the ball

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

geometries.nil.solids.VerticalCylinder.VerticalCylinder.VerticalCylinder

Constructor.

class geometries.nil.solids.VerticalHalfSpace.VerticalHalfSpace(isom, material, ptMaterial)

Vertical half space in Nil

Constructor.

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

  • material (Material) – the material of the ball

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

geometries.nil.solids.VerticalHalfSpace.VerticalHalfSpace.VerticalHalfSpace

Constructor.

Local solids

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

Local Ball in Nil.

Constructor.

Arguments:
  • location (Isometry|Point) – 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.nil.solids.LocalBall.LocalBall.LocalBall

Constructor.

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

Fake ball in Nil.

Constructor.

Arguments:
  • location (Isometry|Point) – 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.nil.solids.LocalFakeBall.LocalFakeBall.LocalFakeBall

Constructor.

class geometries.nil.solids.LocalPotato.LocalPotato(location, radius, coeff1, coeff2, exp, material, ptMaterial)

Local potato shape in Nil.

Constructor.

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

  • radius (number) – the radius of the ball

  • coeff1 (number) – the coefficient for the radial component

  • coeff2 (number) – the coefficient for the (fake) height component

  • exp (number) – the exponent

  • material (Material) – the material of the ball

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

geometries.nil.solids.LocalPotato.LocalPotato.LocalPotato

Constructor.

class geometries.nil.solids.LocalVerticalCylinder.LocalVerticalCylinder(isom, radius, material, ptMaterial)

Vertical cylinder in Nil

Constructor.

Arguments:
  • isom (Isometry) – the isometry locating the cylinder

  • radius (number) – the radius of the cylinder

  • material (Material) – the material of the ball

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

geometries.nil.solids.LocalVerticalCylinder.LocalVerticalCylinder.LocalVerticalCylinder

Constructor.