Package javax.vecmath

Examples of javax.vecmath.Point3d.scale()


// For a infinite bounds. What is the centroid ?
@Override
Point3d getCenter() {
  Point3d cent = new Point3d();
  cent.add(upper, lower);
  cent.scale(0.5d);
  return cent;
}

@Override
public void getCenter(Point3d center) {
View Full Code Here


      }
  }
  else {
      Point3d cenEye = new Point3d();
      cenEye.add(leftManualEyeInImagePlate, rightManualEyeInImagePlate);
      cenEye.scale(0.5);
      position.set(cenEye);
  }
    }

    /**
 
View Full Code Here

/*      */       }
/*      */     }
/*      */     else {
/* 2518 */       Point3d cenEye = new Point3d();
/* 2519 */       cenEye.add(this.leftManualEyeInImagePlate, this.rightManualEyeInImagePlate);
/* 2520 */       cenEye.scale(0.5D);
/* 2521 */       position.set(cenEye);
/*      */     }
/*      */   }
/*      */
/*      */   public void getImagePlateToVworld(Transform3D t)
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.