PotatoShape

PotatoShape

Fake ball in Nil. The distance under-estimator is only correct at large scale

Constructor

new PotatoShape(location, radius, coeff1, coeff2, exp)

Source:

Constructor.

Parameters:
Name Type Description
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

Classes

PotatoShape

Members

center :Point

Source:

Center of the ball

Type: