Quad4d

public class Quad4d

Class Quad4d. Provides quad4d functionality for the Hytale server.

java.lang.Object > Quad4d

Field Summary

a

private Vector4d a

Field a.

b

private Vector4d b

Field b.

c

private Vector4d c

Field c.

d

private Vector4d d

Field d.

p

final double p

Field p.

q

final double q

Field q.

pq

final double pq

Field pq.

Method Detail

Quad4d

public public Quad4d (final Vector4d a, final Vector4d b, final Vector4d c, final Vector4d d)

Method Quad4d.

Parameters:
final Vector4d a
final Vector4d b
final Vector4d c
final Vector4d d

Vector4d

public new Vector4d ()

Method Vector4d.

isFullyInsideFrustum

public boolean isFullyInsideFrustum ()

Method isFullyInsideFrustum.

getA

public Vector4d getA ()

Method getA.

getB

public Vector4d getB ()

Method getB.

getC

public Vector4d getC ()

Method getC.

getD

public Vector4d getD ()

Method getD.

get

public Vector4d get (final int idx)

Method get.

Parameters:
final int idx

switch

public return switch (idx)

Method switch.

Parameters:
idx idx

getMin

public double getMin (final int component)

Method getMin.

Parameters:
final int component

getMax

public double getMax (final int component)

Method getMax.

Parameters:
final int component

multiply

public Quad4d multiply (@Nonnull final Matrix4d matrix)

Method multiply.

Parameters:
@Nonnull final Matrix4d matrix

to2d

public Quad2d to2d (@Nonnull final Quad2d target)

Method to2d.

Parameters:
@Nonnull final Quad2d target

getCenter

public Vector4d getCenter ()

Method getCenter.

perspectiveTransform

public void perspectiveTransform ()

Method perspectiveTransform.

getRandom

public Vector4d getRandom (@Nonnull final Random random)

Method getRandom.

Parameters:
@Nonnull final Random random

toString

public String toString ()

Method toString.