Package mikera.matrixx

Examples of mikera.matrixx.AMatrix.transformInPlace()


  }
 
  public ATransform compose(AAffineTransform a) {
    AVector v=a.copyOfTranslationVector();
    AMatrix thisM=getMatrix();
    thisM.transformInPlace(v);
    v.add(getTranslation().getTranslationVector());
   
    AMatrix m=thisM.compose(a.getMatrix());
   
    return Transformz.createAffineTransform(m, v);
View Full Code Here


  @Override
  public AAffineTransform inverse() {
    AMatrix m=getMatrix().inverse();
    AVector v=getTranslation().getTranslationVector().clone();
    v.negate();
    m.transformInPlace(v);
    return Transformz.createAffineTransform(m, v);
  }
 
  @Override
  public boolean isLinear() {
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.