Makes this pose the inverse of the input pose.
@param src pose to invert.
420975
public void  inverse(GVRPose src)
    {
        if (getSkeleton() != src.getSkeleton())
            throw new IllegalArgumentException("GVRPose.copy: input pose is incompatible with this pose");
        src.sync();
        int numbones = getNumBones();
        Bone srcBone = src.mBones[0];
        Bone dstBone = mBones[0];

        mNeedSync = true;
        srcBone.WorldMatrix.invertAffine(dstBone.WorldMatrix);
        srcBone.LocalMatrix.set(dstBone.WorldMatrix);
        if (sDebug)
        {
            Log.d("BONE", "invert: %s %s", mSkeleton.getBoneName(0), dstBone.toString());

        }
        for (int i = 1; i < numbones; ++i)
        {
            srcBone = src.mBones[i];
            dstBone = mBones[i];
            srcBone.WorldMatrix.invertAffine(dstBone.WorldMatrix);
            dstBone.Changed = WORLD_ROT | WORLD_POS;
            if (sDebug)
            {
                Log.d("BONE", "invert: %s %s", mSkeleton.getBoneName(i), dstBone.toString());
            }
        }
        sync();
    }
659578
public void setFrame (IRectangle r) {
        setFrame(r.x(), r.y(), r.width(), r.height());
    }
691936
public void invert() {
		final PT p = this.startingPoint;
		this.startingPoint = this.endingPoint;
		this.endingPoint = p;
		final int middle = this.segmentList.size() / 2;
		ST segment;
		for (int i = 0, j = this.segmentList.size() - 1; i < middle; ++i, --j) {
			segment = this.segmentList.get(i);
			this.segmentList.set(i, this.segmentList.get(j));
			this.segmentList.set(j, segment);
		}
	}
1349633
private static void flipAround(SceneStructureMetric structure, SceneObservations observations) {
		// The first view will be identity
		for (int i = 1; i < structure.views.length; i++) {
			Se3_F64 w2v = structure.views[i].worldToView;
			w2v.set(w2v.invert(null));
		}
		triangulatePoints(structure,observations);
	}
1199706
public static <T> List<T> flip(final List<T> src)
	{
		final int length = src.size();
		final List<T> dest = new ArrayList<T>(length);

		return flip(src, dest, 0, length);
	}
852955
public void setClasspath(Path src) {
        if (classpath == null) {
            classpath = src;
        } else {
            classpath.append(src);
        }
    }
484720
public static java.awt.Color convertColor(cz.vutbr.web.csskit.Color src)
    {
        return new java.awt.Color(src.getRGB(), true);
    }
571976
public void setConfSource(Configurable src) {
    validateConfigFile(src.getConf());
    confSrc = src;
    zkClient = new AvatarZooKeeperClient(confSrc.getConf(), null, true);
  }
852142
@Override
    public void invert( ZMatrixRMaj inv ) {
        if( inv.numRows != n || inv.numCols != n ) {
            throw new RuntimeException("Unexpected matrix dimension");
        }
        if( inv.data == t ) {
            throw new IllegalArgumentException("Passing in the same matrix that was decomposed.");
        }

        if(decomposer.isLower()) {
            setToInverseL(inv.data);
        } else {
            throw new RuntimeException("Implement");
        }
    }
1079977
public void copy(LengthSet src)
    {
        top = src.top;
        right = src.right;
        bottom = src.bottom;
        left = src.left;
    }
548069
public static void mapping(Object src, Object target) throws BeanMappingException {
        BeanMapping mapping = BeanMapping.create(src.getClass(), target.getClass());
        mapping.mapping(src, target);
    }
304854
private void applyDirection() {
		String imgUrl = "";
		switch (direction) {
			case NORTH:
				panVector = new Coordinate(0, 1);
				imgUrl = northImage;
				break;
			case EAST:
				panVector = new Coordinate(1, 0);
				imgUrl = eastImage;
				break;
			case SOUTH:
				panVector = new Coordinate(0, -1);
				imgUrl = southImage;
				break;
			case WEST:
				panVector = new Coordinate(-1, 0);
				imgUrl = westImage;
				break;
		}
		controller = new PanArrowController(map, panVector);
		image = new Image(getId());
		image.setHref(imgUrl);
		image.setStyle(style);
		image.setBounds(new Bbox(0, 0, getWidth(), getHeight()));
	}
982014
public void toNormalImage(File src, File dest) {
        String command = commandDir + (dest.getName().endsWith(".gif") ? "/gif2webp" : "/dwebp ") + src.getPath() + " -o " + dest.getPath();
        this.executeCommand(command);
    }
666687
public static void horizontal( GrayF32 src , GrayF32 dst ) {

		if( src.width < dst.width )
			throw new IllegalArgumentException("src width must be >= dst width");
		if( src.height != dst.height )
			throw new IllegalArgumentException("src height must equal dst height");

		float scale = src.width/(float)dst.width;

		//CONCURRENT_BELOW BoofConcurrency.loopFor(0, dst.height, y -> {
		for (int y = 0; y < dst.height; y++) {
			int indexDst = dst.startIndex + y*dst.stride;
			for (int x = 0; x < dst.width-1; x++, indexDst++ ) {
				float srcX0 = x*scale;
				float srcX1 = (x+1)*scale;

				int isrcX0 = (int)srcX0;
				int isrcX1 = (int)srcX1;

				int index = src.getIndex(isrcX0,y);

				// compute value of overlapped region
				float startWeight = (1.0f-(srcX0-isrcX0));
				float start = src.data[index++];

				float middle = 0;
				for( int i = isrcX0+1; i < isrcX1; i++ ) {
					middle += src.data[index++];
				}

				float endWeight = (srcX1%1);
				float end = src.data[index];
				dst.data[indexDst] = (start*startWeight + middle + end*endWeight)/scale;
			}

			// handle the last area as a special case
			int x = dst.width-1;
			float srcX0 = x*scale;

			int isrcX0 = (int)srcX0;
			int isrcX1 = src.width-1;

			int index = src.getIndex(isrcX0,y);

			// compute value of overlapped region
			float startWeight = (1.0f-(srcX0-isrcX0));
			float start = src.data[index++];

			float middle = 0;
			for( int i = isrcX0+1; i < isrcX1; i++ ) {
				middle += src.data[index++];
			}

			float end = isrcX1 != isrcX0 ? src.data[index] : 0;
			dst.data[indexDst] = (start*startWeight + middle + end)/scale;
		}
		//CONCURRENT_ABOVE });
	}
787005
public void  combine(GVRPose src)
    {
        int numbones = getNumBones();

        if (getSkeleton() != src.getSkeleton())
            throw new IllegalArgumentException("GVRPose.copy: input pose is incompatible with this pose");
        mNeedSync = false;
        src.sync();
        for (int i = 0; i < numbones; ++i)
        {
            Bone bone = mBones[i];

            bone.WorldMatrix.mul(src.mBones[i].WorldMatrix);
            calcLocal(bone, mSkeleton.getParentBoneIndex(i));
            if (sDebug)
            {
                Log.d("BONE", "combine: %s %s", mSkeleton.getBoneName(i), bone.toString());
            }
            bone.Changed = 0;
        }
        sync();
    }
8165
public void poseFromBones()
    {
        for (int i = 0; i < getNumBones(); ++i)
        {
            GVRSceneObject bone = mBones[i];
            if (bone == null)
            {
                continue;
            }
            if ((mBoneOptions[i] & BONE_LOCK_ROTATION) != 0)
            {
                continue;
            }
            GVRTransform trans = bone.getTransform();
            mPose.setLocalMatrix(i, trans.getLocalModelMatrix4f());
        }
        mPose.sync();
        updateBonePose();
    }
143145
public void set( CameraUniversalOmni original ) {
		super.set(original);

		this.mirrorOffset = original.mirrorOffset;

		if( radial.length != original.radial.length )
			radial = new double[ original.radial.length ];
		System.arraycopy(original.radial,0,radial,0,radial.length);

		this.t1 = original.t1;
		this.t2 = original.t2;
	}