public void transformPoints(int pointSize,float[] in,int srcPos,float[] out,int destPos,int numPoints){
switch (type) {
case TYPE_TRANSLATION:
    impl.translatePoints(pointSize,translateX,translateY,translateZ,in,srcPos,out,destPos,numPoints);
  break;
case TYPE_SCALE:
impl.scalePoints(pointSize,scaleX,scaleY,scaleZ,in,srcPos,out,destPos,numPoints);
break;
case TYPE_IDENTITY:
System.arraycopy(in,srcPos,out,destPos,numPoints * pointSize);
break;
default :
impl.transformPoints(getNativeTransform(),pointSize,in,srcPos,out,destPos,numPoints);
break;
}
}

public void transformPoints ( int pointSize , float [ ] in , int srcPos , float [ ] out , int destPos , int numPoints ) { switch ( type ) { case TYPE_TRANSLATION : impl . translatePoints ( pointSize , translateX , translateY , translateZ , in , srcPos , out , destPos , numPoints ) ; break ; case TYPE_SCALE : impl . scalePoints ( pointSize , scaleX , scaleY , scaleZ , in , srcPos , out , destPos , numPoints ) ; break ; case TYPE_IDENTITY : System . arraycopy ( in , srcPos , out , destPos , numPoints * pointSize ) ; break ; default : impl . transformPoints ( getNativeTransform ( ) , pointSize , in , srcPos , out , destPos , numPoints ) ; break ; } }
transforms a set of points using the current transform .
