public final class OrientedVolume extends java.lang.Object implements IVolume<OrientedVolume>
public static IVolume of(IVolume volume, ITransformable transformable)
public final java.lang.String toString()
toString in class java.lang.Objectpublic final OrientedVolume clone()
clone in interface IData<OrientedVolume>clone in interface IValueCopy<OrientedVolume>clone in interface IVolume<OrientedVolume>clone in class java.lang.Objectpublic final OrientedVolume set(OrientedVolume src)
set in interface IValueCopy<OrientedVolume>public final float getVolume()
getVolume in interface IVolume<OrientedVolume>OrientedVolumepublic final OrientedVolume transform(OrientedVolume volume, Mat4x4 matrix)
transform in interface IVolume<OrientedVolume>volume - a IBoundingVolumematrix - a Mat4x4public final IVolume<?> concatenate(OrientedVolume other)
IVolumeIVolume objectconcatenate in interface IVolume<OrientedVolume>other - a IBoundingVolumeVolumes.concatenate(IVolume, IVolume)public final Vec3 limitInVolume(Vec3 dst, Vec3 src)
IVolumelimitInVolume in interface IVolume<OrientedVolume>dst - destination vector to store the resultsrc - source pointpublic IntersectTest intersectTest(OrientedVolume other)
intersectTest in interface IVolume<OrientedVolume>other - another volumepublic final OrientedVolume interpolate(OrientedVolume current, OrientedVolume next, float t)
IInterpolablecurrent and next and store result in this.interpolate in interface IInterpolable<OrientedVolume>interpolate in interface IData<OrientedVolume>interpolate in interface IVolume<OrientedVolume>current - a IBoundingVolumenext - a IBoundingVolumet - value in range [0;1]public final OrientedVolume addScale(OrientedVolume current, OrientedVolume next, float t)
addScale in interface IVolume<OrientedVolume>current - a IBoundingVolumenext - a IBoundingVolumepublic OrientedVolume subtract(OrientedVolume bv1, OrientedVolume bv2)
subtract in interface IVolume<OrientedVolume>bv1 - a IBoundingVolumebv2 - a IBoundingVolumepublic final IntersectTest intersectTest(Frustum frustum)
IVolumeIBoundingVolume and the specified Frustum.intersectTest in interface IVolume<OrientedVolume>VolumeIntersection.Intersect if inside and intersect.VolumeIntersection.Inside if inside but not intersect.VolumeIntersection.Outisde if outside.IntersectTest,
IVolume.insideFrustum(Frustum)public final boolean insideFrustum(Frustum frustum)
insideFrustum in interface IVolume<OrientedVolume>Frustum.public final float distanceToPlane(Plane plane, boolean min)
distanceToPlane in interface IVolume<OrientedVolume>plane - a Planemin - true: minimum distancepublic IVolume getAxisAlignedVolume()
Bonzai Engine 1.3.4 11/12/2015 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2015 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com