Solids

Global solids

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

Euclidean ball

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

Constructor

class geometries.euc.solids.Box.Box(location, sides, rounded, material, ptMaterial)

Euclidean box

Constructor

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

  • sides (Vector3) – the side lengths of the box

  • rounded (number) – the if the box is rounded

  • material (Material) – the material of the ball

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

geometries.euc.solids.Box.Box.Box

Constructor

class geometries.euc.solids.Cylinder.Cylinder(isom, radius, material, ptMaterial)

Euclidean cylinder

Constructor

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

  • radius (number) – the radius of the ball

  • material (Material) – the material of the ball

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

geometries.euc.solids.Cylinder.Cylinder.Cylinder

Constructor

class geometries.euc.solids.HalfSpace.HalfSpace(isom, material, ptMaterial)

Euclidean Half space

Constructor

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

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

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

geometries.euc.solids.HalfSpace.HalfSpace.HalfSpace

Constructor

Local solids

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

Euclidean local ball

Constructor

Arguments:
  • location (Isometry|Point) – Either an isometry, or a point representing the center 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.euc.solids.LocalBall.LocalBall.LocalBall

Constructor

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

Euclidean cylinder

Constructor

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

  • radius (number) – the radius of the ball

  • material (Material) – the material of the ball

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

geometries.euc.solids.LocalCylinder.LocalCylinder.LocalCylinder

Constructor

class geometries.euc.solids.LocalDirectedBall.LocalDirectedBall(location, radius, material, ptMaterial)

Euclidean local ball

Constructor

Arguments:
  • location (Isometry|Point) – Either an isometry, or a point representing the center 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.euc.solids.LocalDirectedBall.LocalDirectedBall.LocalDirectedBall

Constructor