public class DistortedPointGenerator implements IPointGenerator
Class DistortedPointGenerator. Provides distortedpointgenerator functionality for the Hytale server.
java.lang.Object > DistortedPointGenerator
Field Summary
that
final
DistortedPointGenerator
that
Field that.
Method Detail
DistortedPointGenerator
public
public
DistortedPointGenerator
(final IPointGenerator pointGenerator, final ICoordinateRandomizer coordinateRandomizer)
Method DistortedPointGenerator.
- Parameters:
final IPointGeneratorpointGeneratorfinal ICoordinateRandomizercoordinateRandomizer
nearest2D
public
ResultBuffer.ResultBuffer2d
nearest2D
(final int seed, final double x, final double y)
Method nearest2D.
- Parameters:
final intseedfinal doublexfinal doubley
nearest3D
public
ResultBuffer.ResultBuffer3d
nearest3D
(final int seed, final double x, final double y, final double z)
Method nearest3D.
- Parameters:
final intseedfinal doublexfinal doubleyfinal doublez
transition2D
public
ResultBuffer.ResultBuffer2d
transition2D
(final int seed, final double x, final double y)
Method transition2D.
- Parameters:
final intseedfinal doublexfinal doubley
transition3D
public
ResultBuffer.ResultBuffer3d
transition3D
(final int seed, final double x, final double y, final double z)
Method transition3D.
- Parameters:
final intseedfinal doublexfinal doubleyfinal doublez
getInterval
public
double
getInterval
()
Method getInterval.
collect
public
void
collect
(final int seed, final double minX, final double minY, final double maxX, final double maxY, final PointConsumer2d consumer)
Method collect.
- Parameters:
final intseedfinal doubleminXfinal doubleminYfinal doublemaxXfinal doublemaxYfinal PointConsumer2dconsumer
equals
public
boolean
equals
(@Nullable final Object o)
Method equals.
- Parameters:
@Nullable final Objecto
hashCode
public
int
hashCode
()
Method hashCode.
toString
public
String
toString
()
Method toString.