OffsetPointGenerator

public class OffsetPointGenerator implements IPointGenerator

Class OffsetPointGenerator. Provides offsetpointgenerator functionality for the Hytale server.

java.lang.Object > OffsetPointGenerator

Field Summary

No fields documented.

Method Detail

OffsetPointGenerator

public public OffsetPointGenerator (final IPointGenerator generator, final double offsetX, final double offsetY, final double offsetZ)

Method OffsetPointGenerator.

Parameters:
final IPointGenerator generator
final double offsetX
final double offsetY
final double offsetZ

getOffsetX

public double getOffsetX ()

Method getOffsetX.

getOffsetY

public double getOffsetY ()

Method getOffsetY.

getOffsetZ

public double getOffsetZ ()

Method getOffsetZ.

nearest2D

public ResultBuffer.ResultBuffer2d nearest2D (final int seed, final double x, final double y)

Method nearest2D.

Parameters:
final int seed
final double x
final double y

nearest3D

public ResultBuffer.ResultBuffer3d nearest3D (final int seed, final double x, final double y, final double z)

Method nearest3D.

Parameters:
final int seed
final double x
final double y
final double z

transition2D

public ResultBuffer.ResultBuffer2d transition2D (final int seed, final double x, final double y)

Method transition2D.

Parameters:
final int seed
final double x
final double y

transition3D

public ResultBuffer.ResultBuffer3d transition3D (final int seed, final double x, final double y, final double z)

Method transition3D.

Parameters:
final int seed
final double x
final double y
final double z

collect

public void collect (final int seed, final double minX, final double minY, final double maxX, final double maxY, @Nonnull final PointConsumer2d consumer)

Method collect.

Parameters:
final int seed
final double minX
final double minY
final double maxX
final double maxY
@Nonnull final PointConsumer2d consumer

getInterval

public double getInterval ()

Method getInterval.