Uses of Interface
toxi.geom.ReadonlyVec3D
Packages that use ReadonlyVec3D
Package
Description
-
Uses of ReadonlyVec3D in toxi.audio
Classes in toxi.audio that implement ReadonlyVec3DModifier and TypeClassDescriptionclassA wrapper forAudioBuffers and similar to the built in JOAL net.java.games.sound3d.Source, though less restrictive.classThe concept of a SoundListener refers directly to the user's instance in the virtual (audio) world. -
Uses of ReadonlyVec3D in toxi.geom
Classes in toxi.geom that implement ReadonlyVec3DModifier and TypeClassDescriptionclassAxis-aligned bounding box with basic intersection features for Ray, AABB and Sphere classes.classA geometric definition of a cone (and cylinder as a special case) with support for mesh creation/representation.classClass to describe and work with infinite generic 3D planes.classImplements a spatial subdivision tree to work efficiently with large numbers of 3D particles.classA simple 3D ray datatypeclassclassComprehensive 3D vector class with additional basic intersection and collision detection features.Fields in toxi.geom declared as ReadonlyVec3DModifier and TypeFieldDescriptionfinal ReadonlyVec3DAxis3D.dirIsectData3D.dirstatic final ReadonlyVec3DVec3D.MAX_VALUEDefines vector with all coords set to Float.MAX_VALUE.static final ReadonlyVec3DVec3D.MIN_VALUEDefines vector with all coords set to Float.MIN_VALUE.static final ReadonlyVec3DVec3D.NEG_MAX_VALUEIsectData3D.normalfinal ReadonlyVec3DAxis3D.originOrigin3D.originIsectData3D.posstatic final ReadonlyVec3DVec3D.X_AXISDefines positive X axis.Origin3D.xAxisstatic final ReadonlyVec3DVec3D.Y_AXISDefines positive Y axis.Origin3D.yAxisstatic final ReadonlyVec3DVec3D.Z_AXISDefines positive Z axis.Origin3D.zAxisstatic final ReadonlyVec3DVec3D.ZERODefines the zero vector.Methods in toxi.geom that return ReadonlyVec3DModifier and TypeMethodDescriptionfinal ReadonlyVec3DVec3D.clear()Sets all vector components to 0.Plane.getIntersectionWithRay(Ray3D r) Calculates the intersection point between plane and ray (line).PointOctree.getOffset()Reflector3D.getReflectedRayPointAtDistance(float dist) Returns the point on the reflected ray at given distance from the intersection pointSphereIntersectorReflector.getReflectedRayPointAtDistance(float dist) Vec3D.Axis.getVector()Vec3D.immutable()Methods in toxi.geom with parameters of type ReadonlyVec3DModifier and TypeMethodDescriptionLineStrip3D.add(ReadonlyVec3D p) ReadonlyVec3D.add(ReadonlyVec3D v) Spline3D.add(ReadonlyVec3D p) Adds the given point to the list of control points.Vec3D.add(ReadonlyVec3D v) final Vec3DVec3D.addSelf(ReadonlyVec3D v) final Vec4DVec4D.addXYZ(ReadonlyVec3D v) final Vec4DVec4D.addXYZSelf(ReadonlyVec3D v) floatReadonlyVec3D.angleBetween(ReadonlyVec3D v) Computes the angle between this vector and vector V.floatReadonlyVec3D.angleBetween(ReadonlyVec3D v, boolean forceNormalize) Computes the angle between this vector and vector V.final floatVec3D.angleBetween(ReadonlyVec3D v) final floatVec3D.angleBetween(ReadonlyVec3D v, boolean forceNormalize) Matrix4x4.applyTo(ReadonlyVec3D v) Creates a copy of the given vector, transformed by this matrix.PointCloud3D.center(ReadonlyVec3D origin) Updates all points in the cloud so that their new centroid is at the given point.Plane.classifyPoint(ReadonlyVec3D p, float tolerance) Classifies the relative position of the given point to the plane using the given tolerance.Line3D.closestPointTo(ReadonlyVec3D p) Computes the closest point on this line to the given one.intReadonlyVec3D.compareTo(ReadonlyVec3D v) Compares the length of the vector with another one.intVec3D.compareTo(ReadonlyVec3D v) booleanAABB.containsPoint(ReadonlyVec3D p) abstract booleanAxisAlignedCylinder.containsPoint(ReadonlyVec3D p) Checks if the given point is inside the cylinder.booleanPlane.containsPoint(ReadonlyVec3D p) booleanPointOctree.containsPoint(ReadonlyVec3D p) booleanShape3D.containsPoint(ReadonlyVec3D p) Checks if the point is within the given shape/volume.booleanSphere.containsPoint(ReadonlyVec3D p) booleanTriangle3D.containsPoint(ReadonlyVec3D p) Checks if point vector is inside the triangle created by the points a, b and c.booleanXAxisCylinder.containsPoint(ReadonlyVec3D p) booleanYAxisCylinder.containsPoint(ReadonlyVec3D p) booleanZAxisCylinder.containsPoint(ReadonlyVec3D p) static QuaternionQuaternion.createFromAxisAngle(ReadonlyVec3D axis, float angle) Creates a Quaternion from a axis and a angle.ReadonlyVec3D.cross(ReadonlyVec3D v) Calculates cross-product with vector v.final Vec3DVec3D.cross(ReadonlyVec3D v) ReadonlyVec3D.crossInto(ReadonlyVec3D v, Vec3D result) Calculates cross-product with vector v.final Vec3DVec3D.crossInto(ReadonlyVec3D v, Vec3D result) floatReadonlyVec3D.distanceTo(ReadonlyVec3D v) Calculates distance to another vector.final floatVec3D.distanceTo(ReadonlyVec3D v) floatReadonlyVec3D.distanceToSquared(ReadonlyVec3D v) Calculates the squared distance to another vector.final floatVec3D.distanceToSquared(ReadonlyVec3D v) floatReadonlyVec3D.dot(ReadonlyVec3D v) Computes the scalar product (dot product) with the given vector.final floatVec3D.dot(ReadonlyVec3D v) booleanVec3D.equals(ReadonlyVec3D v) Returns true if the Object v is of type ReadonlyVec3D and all of the data members of v are equal to the corresponding data members in this vector.booleanReadonlyVec3D.equalsWithTolerance(ReadonlyVec3D v, float tolerance) Compares this vector with the one given.booleanVec3D.equalsWithTolerance(ReadonlyVec3D v, float tolerance) Triangle2D.fromBarycentric(ReadonlyVec3D p) Triangle3D.fromBarycentric(ReadonlyVec3D p) static QuaternionQuaternion.getAlignmentQuat(ReadonlyVec3D dir, ReadonlyVec3D forward) Constructs a quaternion that rotates the vector given by the "forward" param into the direction given by the "dir" param.Triangle3D.getClosestPointTo(ReadonlyVec3D p) Finds and returns the closest point on any of the triangle edges to the point given.PointOctree.getLeafForPoint(ReadonlyVec3D p) Finds the leaf node which spatially relates to the given pointAABB.getNormalForPoint(ReadonlyVec3D p) ReadonlyVec3D.getReflected(ReadonlyVec3D normal) final Vec3DVec3D.getReflected(ReadonlyVec3D normal) Matrix4x4.getRotatedAroundAxis(ReadonlyVec3D axis, double theta) ReadonlyVec3D.getRotatedAroundAxis(ReadonlyVec3D axis, float theta) Gets the rotated around axis.ReadonlyVec4D.getRotatedAroundAxis(ReadonlyVec3D axis, float theta) Gets the rotated around axis.final Vec3DVec3D.getRotatedAroundAxis(ReadonlyVec3D axis, float theta) Vec4D.getRotatedAroundAxis(ReadonlyVec3D axis, float theta) AABB.growToContainPoint(ReadonlyVec3D p) Adjusts the box size and position such that it includes the given point.ReadonlyVec3D.interpolateTo(ReadonlyVec3D v, float f) Interpolates the vector towards the given target vector, using linear interpolation.ReadonlyVec3D.interpolateTo(ReadonlyVec3D v, float f, InterpolateStrategy s) Interpolates the vector towards the given target vector, using the givenInterpolateStrategy.final Vec3DVec3D.interpolateTo(ReadonlyVec3D v, float f) final Vec3DVec3D.interpolateTo(ReadonlyVec3D v, float f, InterpolateStrategy s) final Vec3DVec3D.interpolateToSelf(ReadonlyVec3D v, float f) Interpolates the vector towards the given target vector, using linear interpolation.final Vec3DVec3D.interpolateToSelf(ReadonlyVec3D v, float f, InterpolateStrategy s) Interpolates the vector towards the given target vector, using the givenInterpolateStrategy.Matrix4x4.lookAt(ReadonlyVec3D eye, ReadonlyVec3D target, ReadonlyVec3D up) static final Vec3DVec3D.max(ReadonlyVec3D a, ReadonlyVec3D b) Constructs a new vector consisting of the largest components of both vectors.final Vec3DVec3D.maxSelf(ReadonlyVec3D b) Max self.static final Vec3DVec3D.min(ReadonlyVec3D a, ReadonlyVec3D b) Constructs a new vector consisting of the smallest components of both vectors.final Vec3DVec3D.minSelf(ReadonlyVec3D b) Min self.final Vec3DVec3D.reflect(ReadonlyVec3D normal) booleanPointOctree.remove(ReadonlyVec3D p) Removes a point from the tree and (optionally) tries to release memory by reducing now empty sub-branches.booleanPointCloud3D.removePoint(ReadonlyVec3D p) Removes the point from the cloud, but doesn't update the bounds automatically.Matrix4x4.rotateAroundAxis(ReadonlyVec3D axis, double theta) Applies rotation about arbitrary axis to matrixfinal Vec3DVec3D.rotateAroundAxis(ReadonlyVec3D axis, float theta) Rotates the vector around the giving axis.final Vec4DVec4D.rotateAroundAxis(ReadonlyVec3D axis, float theta) Rotates the vector around the giving axis.Matrix4x4.scale(ReadonlyVec3D scale) ReadonlyVec3D.scale(ReadonlyVec3D s) Scales vector non-uniformly by vector v and returns result as new vector.Vec3D.scale(ReadonlyVec3D s) Matrix4x4.scaleSelf(ReadonlyVec3D scale) Vec3D.scaleSelf(ReadonlyVec3D s) AABB.set(ReadonlyVec3D v) Updates the position of the box in space and callsAABB.updateBounds()immediatelyfinal GVectorGVector.set(ReadonlyVec3D tuple) Sets the value of this vector to the values in tupleLine3D.set(ReadonlyVec3D a, ReadonlyVec3D b) Vec3D.set(ReadonlyVec3D v) Ray3D.setDirection(ReadonlyVec3D d) Uses a normalized copy of the given vector as the ray direction.AABB.setExtent(ReadonlyVec3D extent) Updates the size of the box and callsAABB.updateBounds()immediatelyRay3D.setNormalizedDirection(ReadonlyVec3D d) Ellipse.setRadii(ReadonlyVec3D r) Sets the radii of the ellipse to the values given by the vector.final Vec4DVec4D.setXYZ(ReadonlyVec3D v) ReadonlyVec3D.sub(ReadonlyVec3D v) Subtracts vector v and returns result as new vector.final Vec3DVec3D.sub(ReadonlyVec3D v) final Vec3DVec3D.subSelf(ReadonlyVec3D v) final Vec4DVec4D.subXYZ(ReadonlyVec3D v) final Vec4DVec4D.subXYZSelf(ReadonlyVec3D v) Sphere.tangentPlaneNormalAt(ReadonlyVec3D q) Calculates the normal vector on the sphere in the direction of the current point.Triangle3D.toBarycentric(ReadonlyVec3D p) Matrix4x4.translate(ReadonlyVec3D trans) Matrix4x4.translateSelf(ReadonlyVec3D trans) Constructors in toxi.geom with parameters of type ReadonlyVec3DModifierConstructorDescriptionAABB(ReadonlyVec3D pos, float extent) Creates a new instance from centre point and uniform extent in all directions.AABB(ReadonlyVec3D pos, ReadonlyVec3D extent) Creates a new instance from centre point and extentAxis3D(ReadonlyVec3D dir) Creates a new Axis3D from the world origin in the given direction.Axis3D(ReadonlyVec3D o, ReadonlyVec3D dir) Creates a new Axis3D from the given origin and direction.Cone(ReadonlyVec3D pos, ReadonlyVec3D dir, float rNorth, float rSouth, float len) Constructs a new cone instance.Constructs a new GVector and copies the initial values from the specified tuple.Line3D(ReadonlyVec3D a, ReadonlyVec3D b) Plane(ReadonlyVec3D origin, ReadonlyVec3D norm) Quaternion(float w, ReadonlyVec3D v) Ray3D(float x, float y, float z, ReadonlyVec3D d) Ray3D(ReadonlyVec3D o, ReadonlyVec3D d) Sphere(ReadonlyVec3D v, float r) Creates a new vector with the coordinates of the given vector.Vec4D(ReadonlyVec3D v, float w) XAxisCylinder(ReadonlyVec3D pos, float radius, float length) YAxisCylinder(ReadonlyVec3D pos, float radius, float length) ZAxisCylinder(ReadonlyVec3D pos, float radius, float length) -
Uses of ReadonlyVec3D in toxi.geom.mesh
Classes in toxi.geom.mesh that implement ReadonlyVec3DMethods in toxi.geom.mesh with parameters of type ReadonlyVec3DModifier and TypeMethodDescriptionMesh3D.center(ReadonlyVec3D origin) Centers the mesh around the given pivot point (the centroid of its AABB).TriangleMesh.center(ReadonlyVec3D origin) WETriangleMesh.center(ReadonlyVec3D origin) Mesh3D.getClosestVertexToPoint(ReadonlyVec3D p) TriangleMesh.getClosestVertexToPoint(ReadonlyVec3D p) WETriangleMesh.getClosestVertexToPoint(ReadonlyVec3D p) WEVertex.getNeighborInDirection(ReadonlyVec3D dir, float tolerance) TriangleMesh.pointTowards(ReadonlyVec3D dir) Rotates the mesh in such a way so that its "forward" axis is aligned with the given direction.TriangleMesh.pointTowards(ReadonlyVec3D dir, ReadonlyVec3D forward) Rotates the mesh in such a way so that its "forward" axis is aligned with the given direction.WETriangleMesh.pointTowards(ReadonlyVec3D dir) Rotates the mesh in such a way so that its "forward" axis is aligned with the given direction.WETriangleMesh.pointTowards(ReadonlyVec3D dir, ReadonlyVec3D forward) Rotates the mesh in such a way so that its "forward" axis is aligned with the given direction.voidWETriangleMesh.splitEdge(ReadonlyVec3D a, ReadonlyVec3D b, SubdivisionStrategy subDiv) -
Uses of ReadonlyVec3D in toxi.geom.nurbs
Methods in toxi.geom.nurbs with parameters of type ReadonlyVec3D -
Uses of ReadonlyVec3D in toxi.newmesh
Methods in toxi.newmesh with parameters of type ReadonlyVec3D -
Uses of ReadonlyVec3D in toxi.physics3d
Classes in toxi.physics3d that implement ReadonlyVec3DModifier and TypeClassDescriptionclassAn individual 3D particle for use by the VerletPhysics and VerletSpring classes.Constructors in toxi.physics3d with parameters of type ReadonlyVec3DModifierConstructorDescriptionCreates particle at the position of the passed in vectorVerletParticle3D(ReadonlyVec3D v, float w) Creates particle with weight w at the position of the passed in vector -
Uses of ReadonlyVec3D in toxi.processing
Methods in toxi.processing with parameters of type ReadonlyVec3DModifier and TypeMethodDescriptionfinal voidToxiclibsSupport.line(ReadonlyVec3D a, ReadonlyVec3D b) final voidToxiclibsSupport.origin(ReadonlyVec3D o, float len) Draws the major axes from the given point.final voidToxiclibsSupport.point(ReadonlyVec3D v) final voidToxiclibsSupport.rotate(float theta, ReadonlyVec3D v) final voidToxiclibsSupport.scale(ReadonlyVec3D v) final voidToxiclibsSupport.translate(ReadonlyVec3D v) final voidToxiclibsSupport.vertex(ReadonlyVec3D v) -
Uses of ReadonlyVec3D in toxi.sim.dla
Classes in toxi.sim.dla that implement ReadonlyVec3D -
Uses of ReadonlyVec3D in toxi.sim.fluids
Methods in toxi.sim.fluids with parameters of type ReadonlyVec3DModifier and TypeMethodDescriptionvoidFluidSolver3D.setAt(int x, int y, int z, float dens, ReadonlyVec3D vel)