## Examples of Vector3d

### Examples of Hexel.math.Vector3d

 `234235236237238239240241242243244` ```    this.thingBridge = thingBridge;   }   @Override   public Vector3d getReqMoveVector(double fps) {     Vector3d v = new Vector3d();     double dragZ = 1;     double dragXY = 1;     if (this.thingBridge.inWater(this)) {       dragZ = .5;       dragXY = .75; ```
View Full Code Here

### Examples of com.ngt.jopenmetaverse.shared.types.Vector3d

 `114115116117118119120121122123124` ```        return vector;     }     public  Vector3d asVector3d()     {         Vector3d vector = Vector3d.Zero;         if (this.count()== 3)         {             vector.X = this.get(0).asReal();             vector.Y = this.get(1).asReal(); ```
View Full Code Here

### Examples of com.vividsolutions.jts.math.Vector3D

 `8081828384858687` ```   */   private Plane3D findBestFitPlane(Polygon poly)   {     CoordinateSequence seq = poly.getExteriorRing().getCoordinateSequence();     Coordinate basePt = averagePoint(seq);     Vector3D normal = averageNormal(seq);     return new Plane3D(normal, basePt);   } ```
View Full Code Here

### Examples of crazypants.vecmath.Vector3d

 `272273274275276277278279280281282` ```    }     return v;   }   public static Vector3d getEyePositionEio(EntityPlayer player) {     Vector3d res = new Vector3d(player.posX, player.posY, player.posZ);     if(player.worldObj.isRemote) {       //take into account any eye changes done by mods.       res.y += player.getEyeHeight() - player.getDefaultEyeHeight();     } else {       res.y += player.getEyeHeight(); ```
View Full Code Here

### Examples of eas.math.geometry.Vector3D

 `90919293949596979899100101102103104105` ```    double facX = 1.1;     double facY = 1.1;     double facZ = 1.1;     int id = 1;         env.addAgent(new RocketAgent(0, env, params, new Vector3D(0, 0, (maxZ * facZ + 1) + (facZ + 1) + 3)));         for (int i = 0; i < maxX; i++) {         for (int j = 0; j < maxY; j++) {             for (int k = 0; k < maxZ; k++) {                 env.addAgent(new PassiveAgent(id++, env, params, new Vector3D(i * facX, j * facY, (maxZ - k + 1) * facZ)));             }         }     }     //    float[] xyz = new float[] {0,-6,6}; ```
View Full Code Here

### Examples of graphics.common.Vector3D

 `67686970717273` ```    }     private static class Get3D implements GetVector {         @Override         public Vector get( double xPart, double yPart, double zPart ) {             return new Vector3D( xPart, yPart, zPart );         } ```
View Full Code Here

### Examples of javax.vecmath.Vector3d

 `238239240241242243244245246247248` ```  }     public Object clone() throws CloneNotSupportedException{     TransformDataJava3d res=(TransformDataJava3d)super.clone();     res.trans=new Transform3D();     res.v3=new Vector3d();     res.m3=new Matrix3f();     res.m4=new Matrix4f();     res.q=new Quat4f();     return res;   } ```
View Full Code Here

### Examples of javax.vecmath.Vector3d

 `49974998499950005001500250035004500550065007` ```     */     private Icon createIcon(BranchGroup modelNode,                              float pieceWidth, float pieceDepth, float pieceHeight) {       // Add piece model scene to a normalized transform group       Transform3D scaleTransform = new Transform3D();       scaleTransform.setScale(new Vector3d(2 / pieceWidth, 2 / pieceHeight, 2 / pieceDepth));       TransformGroup modelTransformGroup = new TransformGroup();       modelTransformGroup.setTransform(scaleTransform);       modelTransformGroup.addChild(modelNode);       // Replace model textures by clones because Java 3D doesn't accept all the time       // to share textures between offscreen and onscreen environments ```
View Full Code Here

### Examples of javax.vecmath.Vector3d

 `537538539540541542543544545546547` ```        rotation.setRotation(new AxisAngle4f(this.floats [0], this.floats [1], this.floats [2],             (float)Math.toRadians(floats[3])));         mulTransformGroup(rotation);       } else if ("scale".equals(name)) {         Transform3D scale = new Transform3D();         scale.setScale(new Vector3d(this.floats [0], this.floats [1], this.floats [2]));         mulTransformGroup(scale);       } else if ("node".equals(parent) && "translate".equals(name)) {         Transform3D translation = new Transform3D();         translation.setTranslation(new Vector3f(this.floats [0], this.floats [1], this.floats [2]));         mulTransformGroup(translation); ```
View Full Code Here

### Examples of javax.vecmath.Vector3d

 `9991000100110021003100410051006100710081009` ```        if (lower.x != Double.POSITIVE_INFINITY) {           Point3d upper = new Point3d();           bounds.getUpper(upper);           Transform3D translation = new Transform3D();           translation.setTranslation(               new Vector3d(-lower.x - (upper.x - lower.x) / 2,                   -lower.y - (upper.y - lower.y) / 2,                   -lower.z - (upper.z - lower.z) / 2));                rootTransform.mul(translation);         }         ```
View Full Code Here