Shapes
Global shapes
- class geometries.nil.shapes.ball.BallShape.BallShape(location, radius)
Fake ball in Nil. The distance under-estimator is only correct at large scale
Constructor.
- Arguments:
location (Isometry|Point) – the location of the ball
radius (number) – the radius of the ball
- geometries.nil.shapes.ball.BallShape.BallShape.BallShape
Constructor.
- geometries.nil.shapes.ball.BallShape.BallShape.center
type: Point
Center of the ball
- class geometries.nil.shapes.directedVerticalHalfSpace.DirectedVerticalHalfSpaceShape.DirectedVerticalHalfSpaceShape(isom)
Shape for a vertical half space in Nil
Constructor. The half space is the image by the given isometry of the half space {x < 0} The UV directions are the images of e_y, e_z
- Arguments:
isom (Isometry) – the location of the half space
- geometries.nil.shapes.directedVerticalHalfSpace.DirectedVerticalHalfSpaceShape.DirectedVerticalHalfSpaceShape.DirectedVerticalHalfSpaceShape
Constructor. The half space is the image by the given isometry of the half space {x < 0} The UV directions are the images of e_y, e_z
- geometries.nil.shapes.directedVerticalHalfSpace.DirectedVerticalHalfSpaceShape.DirectedVerticalHalfSpaceShape.normal
The normal to the half space
- geometries.nil.shapes.directedVerticalHalfSpace.DirectedVerticalHalfSpaceShape.DirectedVerticalHalfSpaceShape.pos
A point on the boundary of the half space
- class geometries.nil.shapes.fakeBall.FakeBallShape.FakeBallShape(location, radius)
Fake ball in Nil. The distance under-estimator is only correct at large scale
Constructor.
- Arguments:
location (Isometry|Point) – the location of the ball
radius (number) – the radius of the ball
- geometries.nil.shapes.fakeBall.FakeBallShape.FakeBallShape.FakeBallShape
Constructor.
- geometries.nil.shapes.fakeBall.FakeBallShape.FakeBallShape.center
type: Point
Center of the ball
- class geometries.nil.shapes.potato.PotatoShape.PotatoShape(location, radius, coeff1, coeff2, exp)
Fake ball in Nil. The distance under-estimator is only correct at large scale
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
- geometries.nil.shapes.potato.PotatoShape.PotatoShape.PotatoShape
Constructor.
- geometries.nil.shapes.potato.PotatoShape.PotatoShape.center
type: Point
Center of the ball
- class geometries.nil.shapes.straightGeo.StraightGeoShape.StraightGeoShape(location, radius)
Straight geodesic in Nil, i.e. the image by an isometry the geodesic supported by the axis (Ox)
Constructor.
- Arguments:
location (Isometry) – the location of the geodesic
radius (number) – the radius of the “cylinder” around the geodesic
- geometries.nil.shapes.straightGeo.StraightGeoShape.StraightGeoShape.StraightGeoShape
Constructor.
- geometries.nil.shapes.straightGeo.StraightGeoShape.StraightGeoShape._normal
type: Vector4
The normal of the (unique) vertical half plane containing the geodesic
- geometries.nil.shapes.straightGeo.StraightGeoShape.StraightGeoShape._pos
type: Object
A point on the (unique) vertical half plane containing the geodesic
- geometries.nil.shapes.straightGeo.StraightGeoShape.StraightGeoShape._trans
type: Vector4
Normal to the geodesic, inside the vertical half plane containing it
- geometries.nil.shapes.straightGeo.StraightGeoShape.StraightGeoShape.normal
The normal to the (unique) vertical half plane containing the geodesic
- geometries.nil.shapes.straightGeo.StraightGeoShape.StraightGeoShape.pos
A point on the (unique) vertical half plane containing the geodesic
- geometries.nil.shapes.straightGeo.StraightGeoShape.StraightGeoShape.trans
The Normal to the geodesic, inside the vertical half plane containing it
- class geometries.nil.shapes.verticalCylinder.VerticalCylinderShape.VerticalCylinderShape(radius, isom)
Vertical cylinder
The cylinder is the image by isom of the vertical cylinder (i.e. around the z-axis) going through the origin
- Arguments:
radius (number) – radius of the cylinder
isom (Isometry) – isometry used to locate the cylinder
- geometries.nil.shapes.verticalCylinder.VerticalCylinderShape.VerticalCylinderShape.VerticalCylinderShape
The cylinder is the image by isom of the vertical cylinder (i.e. around the z-axis) going through the origin
- geometries.nil.shapes.verticalCylinder.VerticalCylinderShape.VerticalCylinderShape.pos
type: Point
point on the center of the cylinder
- class geometries.nil.shapes.verticalHalfSpace.VerticalHalfSpaceShape.VerticalHalfSpaceShape(isom)
Shape for a vertical half space in Nil
Constructor. The half space is the image by the given isometry of the half space {x < 0} The UV directions are the images of e_y, e_z
- Arguments:
isom (Isometry) – the location of the half space
- geometries.nil.shapes.verticalHalfSpace.VerticalHalfSpaceShape.VerticalHalfSpaceShape.VerticalHalfSpaceShape
Constructor. The half space is the image by the given isometry of the half space {x < 0} The UV directions are the images of e_y, e_z
- geometries.nil.shapes.verticalHalfSpace.VerticalHalfSpaceShape.VerticalHalfSpaceShape.normal
The normal to the half space
- geometries.nil.shapes.verticalHalfSpace.VerticalHalfSpaceShape.VerticalHalfSpaceShape.pos
A point on the boundary of the half space
Local shapes
- class geometries.nil.shapes.localBall.LocalBallShape.LocalBallShape(location, radius)
Fake ball in Nil. The distance under-estimator is only correct at large scale
Constructor.
- Arguments:
location (Isometry|Point) – the location of the ball
radius (number) – the radius of the ball
- geometries.nil.shapes.localBall.LocalBallShape.LocalBallShape.LocalBallShape
Constructor.
- geometries.nil.shapes.localBall.LocalBallShape.LocalBallShape.center
type: Point
Center of the ball
- class geometries.nil.shapes.localFakeBall.LocalFakeBallShape.LocalFakeBallShape(location, radius)
Fake ball in Nil. The distance under-estimator is only correct at large scale
Constructor.
- Arguments:
location (Isometry|Point) – the location of the ball
radius (number) – the radius of the ball
- geometries.nil.shapes.localFakeBall.LocalFakeBallShape.LocalFakeBallShape.LocalFakeBallShape
Constructor.
- geometries.nil.shapes.localFakeBall.LocalFakeBallShape.LocalFakeBallShape.center
type: Point
Center of the ball
- class geometries.nil.shapes.localPotato.LocalPotatoShape.LocalPotatoShape(location, radius, coeff1, coeff2, exp)
Fake ball in Nil. The distance under-estimator is only correct at large scale
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
- geometries.nil.shapes.localPotato.LocalPotatoShape.LocalPotatoShape.LocalPotatoShape
Constructor.
- geometries.nil.shapes.localPotato.LocalPotatoShape.LocalPotatoShape.center
type: Point
Center of the ball
- class geometries.nil.shapes.localVerticalCylinder.LocalVerticalCylinderShape.LocalVerticalCylinderShape(isom, radius)
Vertical cylinder
The cylinder is the image by isom of the vertical cylinder (i.e. around the z-axis) going through the origin
- Arguments:
isom (Isometry) – isometry used to locate the cylinder
radius (number) – radius of the cylinder
- geometries.nil.shapes.localVerticalCylinder.LocalVerticalCylinderShape.LocalVerticalCylinderShape.LocalVerticalCylinderShape
The cylinder is the image by isom of the vertical cylinder (i.e. around the z-axis) going through the origin
- geometries.nil.shapes.localVerticalCylinder.LocalVerticalCylinderShape.LocalVerticalCylinderShape.pos
type: Point
point on the center of the cylinder