Shapes

Global shapes

class geometries.h2e.shapes.ball.BallShape.BallShape(location, radius)

Ball in H2E

Constructor.

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

  • radius (number) – the radius of the ball

geometries.h2e.shapes.ball.BallShape.BallShape.BallShape

Constructor.

geometries.h2e.shapes.ball.BallShape.BallShape.hasUVMap

The UV coordinates corresponds to the spherical coordinates on the sphere… Not sure if that is the smartest choice

geometries.h2e.shapes.ball.BallShape.BallShape.isBallShape

type: boolean

Says that the object inherits from BallShape

geometries.h2e.shapes.ball.BallShape.BallShape.isGlobal

type: boolean

Says whether the shape is global. True if global, false otherwise.

class geometries.h2e.shapes.horizontalCylinder.HorizontalCylinderShape.HorizontalCylinderShape(isom, radius)

Horizontal Cylinder Shape in H2E

Constructor

Arguments:
  • isom (Isometry) – the isometry defining the position of the cylinder.

  • radius (number) – the radius of the cylinder The cylinder is the image by isom of the cylinder going through the origin and directed by the vector (1,0,0)

geometries.h2e.shapes.horizontalCylinder.HorizontalCylinderShape.HorizontalCylinderShape.HorizontalCylinderShape

Constructor

geometries.h2e.shapes.horizontalCylinder.HorizontalCylinderShape.HorizontalCylinderShape.vector

Return the vector (point + direction) orienting the geodesic Mainly used to pass data to the shader

class geometries.h2e.shapes.verticalCylinder.VerticalCylinderShape.VerticalCylinderShape(isom, radius)

Vertical Cylinder shape in H2E

Constructor

Arguments:
  • isom (Isometry) – the isometry defining the position of the cylinder.

  • radius (number) – the radius of the cylinder The cylinder is the image by isom of the cylinder going through the origin and directed by the vector (0,0,1)

geometries.h2e.shapes.verticalCylinder.VerticalCylinderShape.VerticalCylinderShape.VerticalCylinderShape

Constructor

geometries.h2e.shapes.verticalCylinder.VerticalCylinderShape.VerticalCylinderShape.vector

Return the vector (point + direction) orienting the geodesic Mainly used to pass data to the shader

class geometries.h2e.shapes.wHalfSpace.WHalfSpaceShape.WHalfSpaceShape(location)

Horizontal half space

Construction (Image by the isometry of the) half space with equation {w < 0}.

Arguments:
  • location (Isometry) – data for the center of the ball

geometries.h2e.shapes.wHalfSpace.WHalfSpaceShape.WHalfSpaceShape.WHalfSpaceShape

Construction (Image by the isometry of the) half space with equation {w < 0}.

geometries.h2e.shapes.wHalfSpace.WHalfSpaceShape.WHalfSpaceShape.isGlobal

type: boolean

Says whether the shape is global. True if global, false otherwise.

geometries.h2e.shapes.wHalfSpace.WHalfSpaceShape.WHalfSpaceShape.isWHalfSpaceShape

type: boolean

Says that the object inherits from Ball

Local shapes

class geometries.h2e.shapes.localBall.LocalBallShape.LocalBallShape(location, radius)

Local ball

Constructor.

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

  • radius (number) – the radius of the ball

geometries.h2e.shapes.localBall.LocalBallShape.LocalBallShape.LocalBallShape

Constructor.

geometries.h2e.shapes.localBall.LocalBallShape.LocalBallShape.hasUVMap

The UV coordinates corresponds to the spherical coordinates on the sphere… Not sure if that is the smartest choice

geometries.h2e.shapes.localBall.LocalBallShape.LocalBallShape.isGlobal

type: boolean

Says whether the shape is global. True if global, false otherwise.

geometries.h2e.shapes.localBall.LocalBallShape.LocalBallShape.isLocalBallShape

type: boolean

Says that the object inherits from LocalBallShape

class geometries.h2e.shapes.localDirectedNoisyWSlab.LocalDirectedNoisyWSlabShape.LocalDirectedNoisyWSlabShape(location, thickness)

Construction (Image by the isometry of the) slab with equation {abs(w) < thickness}.

Arguments:
  • location (Isometry) – data for the center of the ball

  • thickness (number) – thickness of the slab

geometries.h2e.shapes.localDirectedNoisyWSlab.LocalDirectedNoisyWSlabShape.LocalDirectedNoisyWSlabShape.LocalDirectedNoisyWSlabShape

Construction (Image by the isometry of the) slab with equation {abs(w) < thickness}.

geometries.h2e.shapes.localDirectedNoisyWSlab.LocalDirectedNoisyWSlabShape.LocalDirectedNoisyWSlabShape.isGlobal

type: boolean

Says whether the shape is global. True if global, false otherwise.

geometries.h2e.shapes.localDirectedNoisyWSlab.LocalDirectedNoisyWSlabShape.LocalDirectedNoisyWSlabShape.isLocalDirectedNoisyWSlabShape

type: boolean

Says that the object inherits from LocalWHalfSpaceShape

class geometries.h2e.shapes.localDirectedWSlab.LocalDirectedWSlabShape.LocalDirectedWSlabShape(location, thickness)

Construction (Image by the isometry of the) slab with equation {abs(w) < thickness}.

Arguments:
  • location (Isometry) – data for the center of the ball

  • thickness (number) – thickness of the slab

geometries.h2e.shapes.localDirectedWSlab.LocalDirectedWSlabShape.LocalDirectedWSlabShape.LocalDirectedWSlabShape

Construction (Image by the isometry of the) slab with equation {abs(w) < thickness}.

geometries.h2e.shapes.localDirectedWSlab.LocalDirectedWSlabShape.LocalDirectedWSlabShape.isGlobal

type: boolean

Says whether the shape is global. True if global, false otherwise.

geometries.h2e.shapes.localDirectedWSlab.LocalDirectedWSlabShape.LocalDirectedWSlabShape.isLocalDirectedWSlabShape

type: boolean

Says that the object inherits from LocalWHalfSpaceShape

class geometries.h2e.shapes.localHorizontalCylinder.LocalHorizontalCylinderShape.LocalHorizontalCylinderShape(isom, radius)

Constructor

Arguments:
  • isom (Isometry) – the isometry defining the position of the cylinder.

  • radius (number) – the radius of the cylinder The cylinder is the image by isom of the cylinder going through the origin and directed by the vector (1,0,0)

geometries.h2e.shapes.localHorizontalCylinder.LocalHorizontalCylinderShape.LocalHorizontalCylinderShape.LocalHorizontalCylinderShape

Constructor

geometries.h2e.shapes.localHorizontalCylinder.LocalHorizontalCylinderShape.LocalHorizontalCylinderShape.vector

Return the vector (point + direction) orienting the geodesic Mainly used to pass data to the shader

class geometries.h2e.shapes.localNoisyVerticalCylinder.LocalNoisyVerticalCylinderShape.LocalNoisyVerticalCylinderShape(radius, isom)

Constructor

Arguments:
  • radius (number) – the radius of the cylinder

  • isom (Isometry) – the isometry defining the position of the cylinder. The cylinder is the image by isom of the cylinder going through the origin and directed by the vector (0,0,1)

geometries.h2e.shapes.localNoisyVerticalCylinder.LocalNoisyVerticalCylinderShape.LocalNoisyVerticalCylinderShape.LocalNoisyVerticalCylinderShape

Constructor

geometries.h2e.shapes.localNoisyVerticalCylinder.LocalNoisyVerticalCylinderShape.LocalNoisyVerticalCylinderShape.vector

Return the vector (point + direction) orienting the geodesic Mainly used to pass data to the shader

class geometries.h2e.shapes.localStackBall.LocalStackBallShape.LocalStackBallShape(location, radius, height)

Construction

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

  • radius (number) – the radius od the ball

  • height (number) – height between two balls

geometries.h2e.shapes.localStackBall.LocalStackBallShape.LocalStackBallShape.LocalStackBallShape

Construction

geometries.h2e.shapes.localStackBall.LocalStackBallShape.LocalStackBallShape.isGlobal

type: boolean

Says whether the shape is global. True if global, false otherwise.

geometries.h2e.shapes.localStackBall.LocalStackBallShape.LocalStackBallShape.isLocalStackBallShape

type: boolean

Says that the object inherits from Ball

class geometries.h2e.shapes.localStackNoisyWSlab.LocalStackNoisyWSlabShape.LocalStackNoisyWSlabShape(location, thickness, height)

Construction (Image by the isometry of the) slab with equation {abs(w) < thickness}.

Arguments:
  • location (Isometry) – data for the center of the ball

  • thickness (number) – thickness of the slab

  • height (number) – height between two slabs

geometries.h2e.shapes.localStackNoisyWSlab.LocalStackNoisyWSlabShape.LocalStackNoisyWSlabShape.LocalStackNoisyWSlabShape

Construction (Image by the isometry of the) slab with equation {abs(w) < thickness}.

geometries.h2e.shapes.localStackNoisyWSlab.LocalStackNoisyWSlabShape.LocalStackNoisyWSlabShape.isGlobal

type: boolean

Says whether the shape is global. True if global, false otherwise.

geometries.h2e.shapes.localStackNoisyWSlab.LocalStackNoisyWSlabShape.LocalStackNoisyWSlabShape.isLocalStackNoisyWSlabShape

type: boolean

Says that the object inherits from LocalWHalfSpaceShape

class geometries.h2e.shapes.localStackWSlab.LocalStackWSlabShape.LocalStackWSlabShape(location, thickness, height)

Construction (Image by the isometry of the) slab with equation {abs(w) < thickness}.

Arguments:
  • location (Isometry) – data for the center of the ball

  • thickness (number) – thickness of the slab

  • height (number) – height between two slabs

geometries.h2e.shapes.localStackWSlab.LocalStackWSlabShape.LocalStackWSlabShape.LocalStackWSlabShape

Construction (Image by the isometry of the) slab with equation {abs(w) < thickness}.

geometries.h2e.shapes.localStackWSlab.LocalStackWSlabShape.LocalStackWSlabShape.isGlobal

type: boolean

Says whether the shape is global. True if global, false otherwise.

geometries.h2e.shapes.localStackWSlab.LocalStackWSlabShape.LocalStackWSlabShape.isLocalStackWSlabShape

type: boolean

Says that the object inherits from LocalWHalfSpaceShape

class geometries.h2e.shapes.localVerticalCylinder.LocalVerticalCylinderShape.LocalVerticalCylinderShape(radius, isom)

Constructor

Arguments:
  • radius (number) – the radius of the cylinder

  • isom (Isometry) – the isometry defining the position of the cylinder. The cylinder is the image by isom of the cylinder going through the origin and directed by the vector (0,0,1)

geometries.h2e.shapes.localVerticalCylinder.LocalVerticalCylinderShape.LocalVerticalCylinderShape.LocalVerticalCylinderShape

Constructor

geometries.h2e.shapes.localVerticalCylinder.LocalVerticalCylinderShape.LocalVerticalCylinderShape.vector

Return the vector (point + direction) orienting the geodesic Mainly used to pass data to the shader

class geometries.h2e.shapes.localWHalfSpace.LocalWHalfSpaceShape.LocalWHalfSpaceShape(location)

Construction (Image by the isometry of the) half space with equation {w < 0}.

Arguments:
  • location (Isometry) – data for the center of the ball

geometries.h2e.shapes.localWHalfSpace.LocalWHalfSpaceShape.LocalWHalfSpaceShape.LocalWHalfSpaceShape

Construction (Image by the isometry of the) half space with equation {w < 0}.

geometries.h2e.shapes.localWHalfSpace.LocalWHalfSpaceShape.LocalWHalfSpaceShape.isGlobal

type: boolean

Says whether the shape is global. True if global, false otherwise.

geometries.h2e.shapes.localWHalfSpace.LocalWHalfSpaceShape.LocalWHalfSpaceShape.isLocalWHalfSpaceShape

type: boolean

Says that the object inherits from LocalWHalfSpaceShape

class geometries.h2e.shapes.localWSlab.LocalWSlabShape.LocalWSlabShape(location, thickness)

Construction (Image by the isometry of the) slab with equation {abs(w) < thickness}.

Arguments:
  • location (Isometry) – data for the center of the ball

  • thickness (number) – thickness of the slab

geometries.h2e.shapes.localWSlab.LocalWSlabShape.LocalWSlabShape.LocalWSlabShape

Construction (Image by the isometry of the) slab with equation {abs(w) < thickness}.

geometries.h2e.shapes.localWSlab.LocalWSlabShape.LocalWSlabShape.isGlobal

type: boolean

Says whether the shape is global. True if global, false otherwise.

geometries.h2e.shapes.localWSlab.LocalWSlabShape.LocalWSlabShape.isLocalWSlabShape

type: boolean

Says that the object inherits from LocalWHalfSpaceShape