Shapes

Global shapes

class geometries.sl2.shapes.fakeBall.FakeBallShape.FakeBallShape(location, radius)

Constructor.

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

  • radius (number) – the radius of the ball

geometries.sl2.shapes.fakeBall.FakeBallShape.FakeBallShape.FakeBallShape

Constructor.

geometries.sl2.shapes.fakeBall.FakeBallShape.FakeBallShape.center

type: Point

Center of the ball

Local shapes

class geometries.sl2.shapes.localFakeBall.LocalFakeBallShape.LocalFakeBallShape(location, radius)

Constructor.

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

  • radius (number) – the radius of the ball

geometries.sl2.shapes.localFakeBall.LocalFakeBallShape.LocalFakeBallShape.LocalFakeBallShape

Constructor.

geometries.sl2.shapes.localFakeBall.LocalFakeBallShape.LocalFakeBallShape.center

type: Point

Center of the ball

class geometries.sl2.shapes.localPotato.LocalPotatoShape.LocalPotatoShape(location, radius, wRescale)

Constructor.

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

  • radius (number) – the radius of the ball

  • wRescale (number) – rescaling coeff on the fiber coordinate

geometries.sl2.shapes.localPotato.LocalPotatoShape.LocalPotatoShape.LocalPotatoShape

Constructor.

geometries.sl2.shapes.localPotato.LocalPotatoShape.LocalPotatoShape.center

type: Point

Center of the ball