mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-04 15:24:12 +01:00
1381 lines
47 KiB
HTML
1381 lines
47 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!--NewPage-->
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>
|
|
PMatrix2D
|
|
</TITLE>
|
|
|
|
<META NAME="keywords" CONTENT="processing.core.PMatrix2D class">
|
|
|
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
|
|
|
|
<SCRIPT type="text/javascript">
|
|
function windowTitle()
|
|
{
|
|
parent.document.title="PMatrix2D";
|
|
}
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
</NOSCRIPT>
|
|
|
|
</HEAD>
|
|
|
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
|
|
|
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<A NAME="navbar_top"><!-- --></A>
|
|
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
<TR>
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
<A NAME="navbar_top_firstrow"><!-- --></A>
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
<TR ALIGN="center" VALIGN="top">
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../processing/core/PMatrix.html" title="interface in processing.core"><B>PREV CLASS</B></A>
|
|
<A HREF="../../processing/core/PMatrix3D.html" title="class in processing.core"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../index.html?processing/core/PMatrix2D.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="PMatrix2D.html" target="_top"><B>NO FRAMES</B></A>
|
|
<SCRIPT type="text/javascript">
|
|
<!--
|
|
if(window==top) {
|
|
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
}
|
|
//-->
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
</NOSCRIPT>
|
|
|
|
|
|
</FONT></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_top"></A>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
|
|
<HR>
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<H2>
|
|
<FONT SIZE="-1">
|
|
processing.core</FONT>
|
|
<BR>
|
|
Class PMatrix2D</H2>
|
|
<PRE>
|
|
java.lang.Object
|
|
<IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>processing.core.PMatrix2D</B>
|
|
</PRE>
|
|
<DL>
|
|
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A></DD>
|
|
</DL>
|
|
<HR>
|
|
<DL>
|
|
<DT><PRE>public class <B>PMatrix2D</B><DT>extends java.lang.Object<DT>implements <A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A></DL>
|
|
</PRE>
|
|
|
|
<P>
|
|
3x2 affine matrix implementation.
|
|
<P>
|
|
|
|
<P>
|
|
<HR>
|
|
|
|
<P>
|
|
<!-- =========== FIELD SUMMARY =========== -->
|
|
|
|
<A NAME="field_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Field Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> float</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#m00">m00</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> float</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#m01">m01</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> float</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#m02">m02</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> float</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#m10">m10</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> float</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#m11">m11</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> float</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#m12">m12</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
|
|
<A NAME="constructor_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Constructor Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#PMatrix2D()">PMatrix2D</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#PMatrix2D(float, float, float, float, float, float)">PMatrix2D</A></B>(float m00,
|
|
float m01,
|
|
float m02,
|
|
float m10,
|
|
float m11,
|
|
float m12)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#PMatrix2D(processing.core.PMatrix)">PMatrix2D</A></B>(<A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A> matrix)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
|
|
<A NAME="method_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Method Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#apply(float, float, float, float, float, float)">apply</A></B>(float n00,
|
|
float n01,
|
|
float n02,
|
|
float n10,
|
|
float n11,
|
|
float n12)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#apply(float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float)">apply</A></B>(float n00,
|
|
float n01,
|
|
float n02,
|
|
float n03,
|
|
float n10,
|
|
float n11,
|
|
float n12,
|
|
float n13,
|
|
float n20,
|
|
float n21,
|
|
float n22,
|
|
float n23,
|
|
float n30,
|
|
float n31,
|
|
float n32,
|
|
float n33)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#apply(processing.core.PMatrix)">apply</A></B>(<A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A> source)</CODE>
|
|
|
|
<BR>
|
|
Multiply this matrix by another.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#apply(processing.core.PMatrix2D)">apply</A></B>(<A HREF="../../processing/core/PMatrix2D.html" title="class in processing.core">PMatrix2D</A> source)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#apply(processing.core.PMatrix3D)">apply</A></B>(<A HREF="../../processing/core/PMatrix3D.html" title="class in processing.core">PMatrix3D</A> source)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> float</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#determinant()">determinant</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../processing/core/PMatrix2D.html" title="class in processing.core">PMatrix2D</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#get()">get</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns a copy of this PMatrix.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> float[]</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#get(float[])">get</A></B>(float[] target)</CODE>
|
|
|
|
<BR>
|
|
Copies the matrix contents into a 6 entry float array.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#invert()">invert</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Invert this matrix.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> float[]</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#mult(float[], float[])">mult</A></B>(float[] vec,
|
|
float[] out)</CODE>
|
|
|
|
<BR>
|
|
Multiply a two element vector against this matrix.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../processing/core/PVector.html" title="class in processing.core">PVector</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#mult(processing.core.PVector, processing.core.PVector)">mult</A></B>(<A HREF="../../processing/core/PVector.html" title="class in processing.core">PVector</A> source,
|
|
<A HREF="../../processing/core/PVector.html" title="class in processing.core">PVector</A> target)</CODE>
|
|
|
|
<BR>
|
|
Multiply the x and y coordinates of a PVector against this matrix.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> float</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#multX(float, float)">multX</A></B>(float x,
|
|
float y)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> float</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#multY(float, float)">multY</A></B>(float x,
|
|
float y)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#preApply(float, float, float, float, float, float)">preApply</A></B>(float n00,
|
|
float n01,
|
|
float n02,
|
|
float n10,
|
|
float n11,
|
|
float n12)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#preApply(float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float)">preApply</A></B>(float n00,
|
|
float n01,
|
|
float n02,
|
|
float n03,
|
|
float n10,
|
|
float n11,
|
|
float n12,
|
|
float n13,
|
|
float n20,
|
|
float n21,
|
|
float n22,
|
|
float n23,
|
|
float n30,
|
|
float n31,
|
|
float n32,
|
|
float n33)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#preApply(processing.core.PMatrix2D)">preApply</A></B>(<A HREF="../../processing/core/PMatrix2D.html" title="class in processing.core">PMatrix2D</A> left)</CODE>
|
|
|
|
<BR>
|
|
Apply another matrix to the left of this one.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#preApply(processing.core.PMatrix3D)">preApply</A></B>(<A HREF="../../processing/core/PMatrix3D.html" title="class in processing.core">PMatrix3D</A> left)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#print()">print</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#reset()">reset</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#rotate(float)">rotate</A></B>(float angle)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#rotate(float, float, float, float)">rotate</A></B>(float angle,
|
|
float v0,
|
|
float v1,
|
|
float v2)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#rotateX(float)">rotateX</A></B>(float angle)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#rotateY(float)">rotateY</A></B>(float angle)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#rotateZ(float)">rotateZ</A></B>(float angle)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#scale(float)">scale</A></B>(float s)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#scale(float, float)">scale</A></B>(float sx,
|
|
float sy)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#scale(float, float, float)">scale</A></B>(float x,
|
|
float y,
|
|
float z)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#set(float[])">set</A></B>(float[] source)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#set(float, float, float, float, float, float)">set</A></B>(float m00,
|
|
float m01,
|
|
float m02,
|
|
float m10,
|
|
float m11,
|
|
float m12)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#set(float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float)">set</A></B>(float m00,
|
|
float m01,
|
|
float m02,
|
|
float m03,
|
|
float m10,
|
|
float m11,
|
|
float m12,
|
|
float m13,
|
|
float m20,
|
|
float m21,
|
|
float m22,
|
|
float m23,
|
|
float m30,
|
|
float m31,
|
|
float m32,
|
|
float m33)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#set(processing.core.PMatrix)">set</A></B>(<A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A> matrix)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#set(processing.core.PMatrix3D)">set</A></B>(<A HREF="../../processing/core/PMatrix3D.html" title="class in processing.core">PMatrix3D</A> src)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#skewX(float)">skewX</A></B>(float angle)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#skewY(float)">skewY</A></B>(float angle)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#translate(float, float)">translate</A></B>(float tx,
|
|
float ty)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#translate(float, float, float)">translate</A></B>(float x,
|
|
float y,
|
|
float z)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../processing/core/PMatrix2D.html#transpose()">transpose</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Transpose this matrix.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<!-- ============ FIELD DETAIL =========== -->
|
|
|
|
<A NAME="field_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Field Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="m00"><!-- --></A><H3>
|
|
m00</H3>
|
|
<PRE>
|
|
public float <B>m00</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="m01"><!-- --></A><H3>
|
|
m01</H3>
|
|
<PRE>
|
|
public float <B>m01</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="m02"><!-- --></A><H3>
|
|
m02</H3>
|
|
<PRE>
|
|
public float <B>m02</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="m10"><!-- --></A><H3>
|
|
m10</H3>
|
|
<PRE>
|
|
public float <B>m10</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="m11"><!-- --></A><H3>
|
|
m11</H3>
|
|
<PRE>
|
|
public float <B>m11</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="m12"><!-- --></A><H3>
|
|
m12</H3>
|
|
<PRE>
|
|
public float <B>m12</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
|
|
<A NAME="constructor_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Constructor Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="PMatrix2D()"><!-- --></A><H3>
|
|
PMatrix2D</H3>
|
|
<PRE>
|
|
public <B>PMatrix2D</B>()</PRE>
|
|
<DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="PMatrix2D(float, float, float, float, float, float)"><!-- --></A><H3>
|
|
PMatrix2D</H3>
|
|
<PRE>
|
|
public <B>PMatrix2D</B>(float m00,
|
|
float m01,
|
|
float m02,
|
|
float m10,
|
|
float m11,
|
|
float m12)</PRE>
|
|
<DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="PMatrix2D(processing.core.PMatrix)"><!-- --></A><H3>
|
|
PMatrix2D</H3>
|
|
<PRE>
|
|
public <B>PMatrix2D</B>(<A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A> matrix)</PRE>
|
|
<DL>
|
|
</DL>
|
|
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
|
|
<A NAME="method_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Method Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="reset()"><!-- --></A><H3>
|
|
reset</H3>
|
|
<PRE>
|
|
public void <B>reset</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../processing/core/PMatrix.html#reset()">reset</A></CODE> in interface <CODE><A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="get()"><!-- --></A><H3>
|
|
get</H3>
|
|
<PRE>
|
|
public <A HREF="../../processing/core/PMatrix2D.html" title="class in processing.core">PMatrix2D</A> <B>get</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns a copy of this PMatrix.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../processing/core/PMatrix.html#get()">get</A></CODE> in interface <CODE><A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="get(float[])"><!-- --></A><H3>
|
|
get</H3>
|
|
<PRE>
|
|
public float[] <B>get</B>(float[] target)</PRE>
|
|
<DL>
|
|
<DD>Copies the matrix contents into a 6 entry float array.
|
|
If target is null (or not the correct size), a new array will be created.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../processing/core/PMatrix.html#get(float[])">get</A></CODE> in interface <CODE><A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="set(processing.core.PMatrix)"><!-- --></A><H3>
|
|
set</H3>
|
|
<PRE>
|
|
public void <B>set</B>(<A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A> matrix)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../processing/core/PMatrix.html#set(processing.core.PMatrix)">set</A></CODE> in interface <CODE><A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="set(processing.core.PMatrix3D)"><!-- --></A><H3>
|
|
set</H3>
|
|
<PRE>
|
|
public void <B>set</B>(<A HREF="../../processing/core/PMatrix3D.html" title="class in processing.core">PMatrix3D</A> src)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="set(float[])"><!-- --></A><H3>
|
|
set</H3>
|
|
<PRE>
|
|
public void <B>set</B>(float[] source)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../processing/core/PMatrix.html#set(float[])">set</A></CODE> in interface <CODE><A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="set(float, float, float, float, float, float)"><!-- --></A><H3>
|
|
set</H3>
|
|
<PRE>
|
|
public void <B>set</B>(float m00,
|
|
float m01,
|
|
float m02,
|
|
float m10,
|
|
float m11,
|
|
float m12)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../processing/core/PMatrix.html#set(float, float, float, float, float, float)">set</A></CODE> in interface <CODE><A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="set(float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float)"><!-- --></A><H3>
|
|
set</H3>
|
|
<PRE>
|
|
public void <B>set</B>(float m00,
|
|
float m01,
|
|
float m02,
|
|
float m03,
|
|
float m10,
|
|
float m11,
|
|
float m12,
|
|
float m13,
|
|
float m20,
|
|
float m21,
|
|
float m22,
|
|
float m23,
|
|
float m30,
|
|
float m31,
|
|
float m32,
|
|
float m33)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../processing/core/PMatrix.html#set(float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float)">set</A></CODE> in interface <CODE><A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="translate(float, float)"><!-- --></A><H3>
|
|
translate</H3>
|
|
<PRE>
|
|
public void <B>translate</B>(float tx,
|
|
float ty)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../processing/core/PMatrix.html#translate(float, float)">translate</A></CODE> in interface <CODE><A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="translate(float, float, float)"><!-- --></A><H3>
|
|
translate</H3>
|
|
<PRE>
|
|
public void <B>translate</B>(float x,
|
|
float y,
|
|
float z)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../processing/core/PMatrix.html#translate(float, float, float)">translate</A></CODE> in interface <CODE><A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="rotate(float)"><!-- --></A><H3>
|
|
rotate</H3>
|
|
<PRE>
|
|
public void <B>rotate</B>(float angle)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../processing/core/PMatrix.html#rotate(float)">rotate</A></CODE> in interface <CODE><A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="rotateX(float)"><!-- --></A><H3>
|
|
rotateX</H3>
|
|
<PRE>
|
|
public void <B>rotateX</B>(float angle)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../processing/core/PMatrix.html#rotateX(float)">rotateX</A></CODE> in interface <CODE><A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="rotateY(float)"><!-- --></A><H3>
|
|
rotateY</H3>
|
|
<PRE>
|
|
public void <B>rotateY</B>(float angle)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../processing/core/PMatrix.html#rotateY(float)">rotateY</A></CODE> in interface <CODE><A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="rotateZ(float)"><!-- --></A><H3>
|
|
rotateZ</H3>
|
|
<PRE>
|
|
public void <B>rotateZ</B>(float angle)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../processing/core/PMatrix.html#rotateZ(float)">rotateZ</A></CODE> in interface <CODE><A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="rotate(float, float, float, float)"><!-- --></A><H3>
|
|
rotate</H3>
|
|
<PRE>
|
|
public void <B>rotate</B>(float angle,
|
|
float v0,
|
|
float v1,
|
|
float v2)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../processing/core/PMatrix.html#rotate(float, float, float, float)">rotate</A></CODE> in interface <CODE><A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="scale(float)"><!-- --></A><H3>
|
|
scale</H3>
|
|
<PRE>
|
|
public void <B>scale</B>(float s)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../processing/core/PMatrix.html#scale(float)">scale</A></CODE> in interface <CODE><A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="scale(float, float)"><!-- --></A><H3>
|
|
scale</H3>
|
|
<PRE>
|
|
public void <B>scale</B>(float sx,
|
|
float sy)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../processing/core/PMatrix.html#scale(float, float)">scale</A></CODE> in interface <CODE><A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="scale(float, float, float)"><!-- --></A><H3>
|
|
scale</H3>
|
|
<PRE>
|
|
public void <B>scale</B>(float x,
|
|
float y,
|
|
float z)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../processing/core/PMatrix.html#scale(float, float, float)">scale</A></CODE> in interface <CODE><A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="skewX(float)"><!-- --></A><H3>
|
|
skewX</H3>
|
|
<PRE>
|
|
public void <B>skewX</B>(float angle)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../processing/core/PMatrix.html#skewX(float)">skewX</A></CODE> in interface <CODE><A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="skewY(float)"><!-- --></A><H3>
|
|
skewY</H3>
|
|
<PRE>
|
|
public void <B>skewY</B>(float angle)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../processing/core/PMatrix.html#skewY(float)">skewY</A></CODE> in interface <CODE><A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="apply(processing.core.PMatrix)"><!-- --></A><H3>
|
|
apply</H3>
|
|
<PRE>
|
|
public void <B>apply</B>(<A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A> source)</PRE>
|
|
<DL>
|
|
<DD><B>Description copied from interface: <CODE><A HREF="../../processing/core/PMatrix.html#apply(processing.core.PMatrix)">PMatrix</A></CODE></B></DD>
|
|
<DD>Multiply this matrix by another.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../processing/core/PMatrix.html#apply(processing.core.PMatrix)">apply</A></CODE> in interface <CODE><A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="apply(processing.core.PMatrix2D)"><!-- --></A><H3>
|
|
apply</H3>
|
|
<PRE>
|
|
public void <B>apply</B>(<A HREF="../../processing/core/PMatrix2D.html" title="class in processing.core">PMatrix2D</A> source)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../processing/core/PMatrix.html#apply(processing.core.PMatrix2D)">apply</A></CODE> in interface <CODE><A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="apply(processing.core.PMatrix3D)"><!-- --></A><H3>
|
|
apply</H3>
|
|
<PRE>
|
|
public void <B>apply</B>(<A HREF="../../processing/core/PMatrix3D.html" title="class in processing.core">PMatrix3D</A> source)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../processing/core/PMatrix.html#apply(processing.core.PMatrix3D)">apply</A></CODE> in interface <CODE><A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="apply(float, float, float, float, float, float)"><!-- --></A><H3>
|
|
apply</H3>
|
|
<PRE>
|
|
public void <B>apply</B>(float n00,
|
|
float n01,
|
|
float n02,
|
|
float n10,
|
|
float n11,
|
|
float n12)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../processing/core/PMatrix.html#apply(float, float, float, float, float, float)">apply</A></CODE> in interface <CODE><A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="apply(float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float)"><!-- --></A><H3>
|
|
apply</H3>
|
|
<PRE>
|
|
public void <B>apply</B>(float n00,
|
|
float n01,
|
|
float n02,
|
|
float n03,
|
|
float n10,
|
|
float n11,
|
|
float n12,
|
|
float n13,
|
|
float n20,
|
|
float n21,
|
|
float n22,
|
|
float n23,
|
|
float n30,
|
|
float n31,
|
|
float n32,
|
|
float n33)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../processing/core/PMatrix.html#apply(float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float)">apply</A></CODE> in interface <CODE><A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="preApply(processing.core.PMatrix2D)"><!-- --></A><H3>
|
|
preApply</H3>
|
|
<PRE>
|
|
public void <B>preApply</B>(<A HREF="../../processing/core/PMatrix2D.html" title="class in processing.core">PMatrix2D</A> left)</PRE>
|
|
<DL>
|
|
<DD>Apply another matrix to the left of this one.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../processing/core/PMatrix.html#preApply(processing.core.PMatrix2D)">preApply</A></CODE> in interface <CODE><A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="preApply(processing.core.PMatrix3D)"><!-- --></A><H3>
|
|
preApply</H3>
|
|
<PRE>
|
|
public void <B>preApply</B>(<A HREF="../../processing/core/PMatrix3D.html" title="class in processing.core">PMatrix3D</A> left)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../processing/core/PMatrix.html#preApply(processing.core.PMatrix3D)">preApply</A></CODE> in interface <CODE><A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="preApply(float, float, float, float, float, float)"><!-- --></A><H3>
|
|
preApply</H3>
|
|
<PRE>
|
|
public void <B>preApply</B>(float n00,
|
|
float n01,
|
|
float n02,
|
|
float n10,
|
|
float n11,
|
|
float n12)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../processing/core/PMatrix.html#preApply(float, float, float, float, float, float)">preApply</A></CODE> in interface <CODE><A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="preApply(float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float)"><!-- --></A><H3>
|
|
preApply</H3>
|
|
<PRE>
|
|
public void <B>preApply</B>(float n00,
|
|
float n01,
|
|
float n02,
|
|
float n03,
|
|
float n10,
|
|
float n11,
|
|
float n12,
|
|
float n13,
|
|
float n20,
|
|
float n21,
|
|
float n22,
|
|
float n23,
|
|
float n30,
|
|
float n31,
|
|
float n32,
|
|
float n33)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../processing/core/PMatrix.html#preApply(float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float)">preApply</A></CODE> in interface <CODE><A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="mult(processing.core.PVector, processing.core.PVector)"><!-- --></A><H3>
|
|
mult</H3>
|
|
<PRE>
|
|
public <A HREF="../../processing/core/PVector.html" title="class in processing.core">PVector</A> <B>mult</B>(<A HREF="../../processing/core/PVector.html" title="class in processing.core">PVector</A> source,
|
|
<A HREF="../../processing/core/PVector.html" title="class in processing.core">PVector</A> target)</PRE>
|
|
<DL>
|
|
<DD>Multiply the x and y coordinates of a PVector against this matrix.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../processing/core/PMatrix.html#mult(processing.core.PVector, processing.core.PVector)">mult</A></CODE> in interface <CODE><A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="mult(float[], float[])"><!-- --></A><H3>
|
|
mult</H3>
|
|
<PRE>
|
|
public float[] <B>mult</B>(float[] vec,
|
|
float[] out)</PRE>
|
|
<DL>
|
|
<DD>Multiply a two element vector against this matrix.
|
|
If out is null or not length four, a new float array will be returned.
|
|
The values for vec and out can be the same (though that's less efficient).
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../processing/core/PMatrix.html#mult(float[], float[])">mult</A></CODE> in interface <CODE><A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="multX(float, float)"><!-- --></A><H3>
|
|
multX</H3>
|
|
<PRE>
|
|
public float <B>multX</B>(float x,
|
|
float y)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="multY(float, float)"><!-- --></A><H3>
|
|
multY</H3>
|
|
<PRE>
|
|
public float <B>multY</B>(float x,
|
|
float y)</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="transpose()"><!-- --></A><H3>
|
|
transpose</H3>
|
|
<PRE>
|
|
public void <B>transpose</B>()</PRE>
|
|
<DL>
|
|
<DD>Transpose this matrix.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../processing/core/PMatrix.html#transpose()">transpose</A></CODE> in interface <CODE><A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="invert()"><!-- --></A><H3>
|
|
invert</H3>
|
|
<PRE>
|
|
public boolean <B>invert</B>()</PRE>
|
|
<DL>
|
|
<DD>Invert this matrix. Implementation stolen from OpenJDK.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../processing/core/PMatrix.html#invert()">invert</A></CODE> in interface <CODE><A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>true if successful</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="determinant()"><!-- --></A><H3>
|
|
determinant</H3>
|
|
<PRE>
|
|
public float <B>determinant</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../processing/core/PMatrix.html#determinant()">determinant</A></CODE> in interface <CODE><A HREF="../../processing/core/PMatrix.html" title="interface in processing.core">PMatrix</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>the determinant of the matrix</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="print()"><!-- --></A><H3>
|
|
print</H3>
|
|
<PRE>
|
|
public void <B>print</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<HR>
|
|
|
|
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<A NAME="navbar_bottom"><!-- --></A>
|
|
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
<TR>
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
<TR ALIGN="center" VALIGN="top">
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../processing/core/PMatrix.html" title="interface in processing.core"><B>PREV CLASS</B></A>
|
|
<A HREF="../../processing/core/PMatrix3D.html" title="class in processing.core"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../index.html?processing/core/PMatrix2D.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="PMatrix2D.html" target="_top"><B>NO FRAMES</B></A>
|
|
<SCRIPT type="text/javascript">
|
|
<!--
|
|
if(window==top) {
|
|
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
}
|
|
//-->
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
</NOSCRIPT>
|
|
|
|
|
|
</FONT></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_bottom"></A>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
|
|
<HR>
|
|
|
|
</BODY>
|
|
</HTML>
|