Solids

Global solids

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

S2xE 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.s2e.solids.Ball.Ball.Ball

Constructor

class geometries.s2e.solids.HorizontalCylinder.HorizontalCylinder(location, radius, material, ptMaterial)

Horizontal cylinder in S2 x E.

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.s2e.solids.HorizontalCylinder.HorizontalCylinder.HorizontalCylinder

Constructor

class geometries.s2e.solids.VerticalCylinder.VerticalCylinder(location, radius, material, ptMaterial)

Vertical cylinder in S2 x E.

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.s2e.solids.VerticalCylinder.VerticalCylinder.VerticalCylinder

Constructor

class geometries.s2e.solids.WCappedCylinder.WCappedCylinder(location, radius, height, smoothness, material, ptMaterial)

Cylinder around the w-axis

Constructor

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

  • radius (number) – the radius of the cylinder

  • height (number) – height of the cylinder

  • smoothness (number) – smoothness of the edge (polynomial smooth max)

  • material (Material) – the material of the cylinder

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

geometries.s2e.solids.WCappedCylinder.WCappedCylinder.WCappedCylinder

Constructor

class geometries.s2e.solids.WCylinder.WCylinder(location, radius, material, ptMaterial)

Cylinder around the w-axis

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.s2e.solids.WCylinder.WCylinder.WCylinder

Constructor

class geometries.s2e.solids.WHalfSpace.WHalfSpace(location, material, ptMaterial)

Half space {w < 0}

Constructor

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

  • material (Material) – the material of the half space

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

geometries.s2e.solids.WHalfSpace.WHalfSpace.WHalfSpace

Constructor

Local solids

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

S2xE 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.s2e.solids.LocalBall.LocalBall.LocalBall

Constructor

class geometries.s2e.solids.LocalHorizontalCylinder.LocalHorizontalCylinder(location, radius, material, ptMaterial)

Horizontal cylinder in S2 x E.

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.s2e.solids.LocalHorizontalCylinder.LocalHorizontalCylinder.LocalHorizontalCylinder

Constructor

class geometries.s2e.solids.LocalVerticalCylinder.LocalVerticalCylinder(location, radius, material, ptMaterial)

Vertical cylinder in S2 x E.

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.s2e.solids.LocalVerticalCylinder.LocalVerticalCylinder.LocalVerticalCylinder

Constructor