Sets the ray parameters to the values contained in the supplied vectors.

@return a reference to this ray, for chaining.
505542
public Ray3 set (Vector3 origin, Vector3 direction) {
        this.origin.set(origin);
        this.direction.set(direction);
        return this;
    }
1288232
public Vector4f set(Vector2ic v, float z, float w) {
    	return set(v.x(), v.y(), z, w);
    }
998556
public Vector3i set(Vector3ic v) {
        x = v.x();
        y = v.y();
        z = v.z();
        return this;
    }
619471
public void update(final Ray3DFloat ray) {
        final Point3D origin = VecToPoint(ray.getOrigin());
        final Point3D direction = VecToPoint(ray.getDirection());
        final Point3D end = origin.add(direction.normalize().multiply(rayLength));
        super.setStartEndPoints(origin, end);
    }
374463
public Vector3d set(Vector3ic v) {
        return set(v.x(), v.y(), v.z());
    }
57857
public Vector4d set(Vector2fc v, double z, double w) {
        return set(v.x(), v.y(), z, w);
    }
720853
protected Vector<Point<Integer>> listPoints() {
    Vector<Point<Integer>>	result;
    int			i;
    int[]			max;
    Integer[]			locations;
    boolean			ok;

    result = new Vector<Point<Integer>>();

    // determine maximum locations per dimension
    max = new int[dimensions()];
    for (i = 0; i < max.length; i++)
      max[i] = getDimension(i).width();

    // create first point
    locations = new Integer[dimensions()];
    for (i = 0; i < locations.length; i++)
      locations[i] = 0;
    result.add(new Point<Integer>(locations));

    ok = true;
    while (ok) {
      ok = inc(locations, max);
      if (ok)
        result.add(new Point<Integer>(locations));
    }

    return result;
  }
91057
public Vector3d set(Vector3fc v) {
        return set(v.x(), v.y(), v.z());
    }
1114263
public Vector4 set (IVector4 other) {
        return set(other.x(), other.y(), other.z(), other.w());
    }
928699
public void setValues(FSArray v) {
    if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_values == null)
      jcasType.jcas.throwFeatMissing("values", "de.julielab.jules.types.ace.Document");
    jcasType.ll_cas.ll_setRefValue(addr, ((Document_Type)jcasType).casFeatCode_values, jcasType.ll_cas.ll_getFSRef(v));}
1060082
public Vector4d set(Vector3ic v, double w) {
        return set(v.x(), v.y(), v.z(), w);
    }
736918
public Vector normalize() {
        double length = length();

        x /= length;
        y /= length;
        z /= length;

        return this;
    }
231641
public void set(double x, double y, double z) {
		assert Vector3D.isUnitVector(x, y, z) : AssertMessages.normalizedParameters(0, 1, 2);
		if ((x != getX() || y != getY() || z != getZ()) && !isBound()) {
			final Vector3dfx v = super.get();
			v.set(x, y, z);
			fireValueChangedEvent();
		}
	}
1020930
private void setAngle() throws Exception {
        List data = new Vector();
        st.nextToken();
        String scode = st.nextToken(); // String scode
        String sid1 = st.nextToken();
        String sid2 = st.nextToken();
        String sid3 = st.nextToken();
        String value1 = st.nextToken();
        String value2 = st.nextToken();
        String value3 = st.nextToken();
        String value4 = st.nextToken();

        try {
            //int code=new Integer(scode).intValue();
            double va1 = new Double(value1).doubleValue();
            double va2 = new Double(value2).doubleValue();
            double va3 = new Double(value3).doubleValue();
            double va4 = new Double(value4).doubleValue();
            data.add(new Double(va1));
            data.add(new Double(va2));
            data.add(new Double(va3));
            data.add(new Double(va4));

            //			key = "angle" + scode + ";" + sid1 + ";" + sid2 + ";" + sid3;
            key = "angle" + sid1 + ";" + sid2 + ";" + sid3;
            if (parameterSet.containsKey(key)) {
                data = (Vector) parameterSet.get(key);
                data.add(new Double(va1));
                data.add(new Double(va2));
                data.add(new Double(va3));
                data.add(new Double(va4));
            }
            parameterSet.put(key, data);

        } catch (NumberFormatException nfe) {
            throw new IOException("setAngle: Malformed Number due to:" + nfe);
        }
    }
784191
public void set(IntFloatSortedVector other) {
        this.used = other.used;
        this.indices = IntArrays.copyOf(other.indices);
        this.values = FloatArrays.copyOf(other.values);
    }
183311
@Override
	public void set(double x, double y, double z, double radius1) {
		this.cx = x;
		this.cy = y;
		this.cz = z;
		this.radius = Math.abs(radius1);
	}
241049
public Vector3d set(Vector2fc v, double z) {
        return set(v.x(), v.y(), z);
    }