Commit 5169ac28 authored by Lukas Krawczyk's avatar Lukas Krawczyk
Browse files

Initial commit



This commit contains the content of the RTCToolbox source code archive, which was kindly provided by Prof. Lothar Thiele from ETH Zuerich. Compared to the original archive we received, the following files and folders were excluded:

/bin/*       - Build artifacts
/external/*  - External libraries

The following external libraries were included in the original archive:
- Cobertura:1.7
- asm:2.1
- junit:3.8.1
- log4j:1.2.9
- JavaNCSS:21.41
- jakarta-oro:2.0.8

They are purposely omitted in this commit, as they are only related to the build process and do not represent required dependencies.
Signed-off-by: Lukas Krawczyk's avatarLukas Krawczyk <lukas.krawczyk@fh-dortmund.de>
parents
% Real-Time Calculus (RTC) Toolbox
%
% Copyright (c) 2004-2007
% Computer Engineering and Networks Laboratory (TIK)
% ETH Zurich, Switzerland.
% All rights reserved.
% For support, write to: rtc@tik.ee.ethz.ch
%
%
% Information
% --------------------------
% license.txt - License information.
% install.txt - Installation information.
%
% Installation
% --------------------------
% rtc_install - Install the Real-Time Calculus Toolbox.
% rtc_uninstall - Uninstall the Real-Time Calculus Toolbox.
% rtc_init - Initialize the Java Library of the Real-Time Calculus Toolbox.
% startup - Initialize the Real-Time Calculus Toolbox at startup.
%
% Help
% ----
% help mpa - Get help for mpa/rtc functions
% help mpa_demos - Get help for demos of MPA toolbox
%
\ No newline at end of file
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_06) on Thu Aug 23 23:20:19 MEST 2007 -->
<TITLE>
All Classes (Real-Time Calculus)
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<FONT size="+1" CLASS="FrameHeadingFont">
<B>All Classes</B></FONT>
<BR>
<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
<TR>
<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="ch/ethz/rtc/kernel/AperiodicPart.html" title="class in ch.ethz.rtc.kernel" target="classFrame">AperiodicPart</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/Curve.html" title="class in ch.ethz.rtc.kernel" target="classFrame">Curve</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/CurveChecker.html" title="class in ch.ethz.rtc.kernel" target="classFrame">CurveChecker</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/CurveFactory.html" title="class in ch.ethz.rtc.kernel" target="classFrame">CurveFactory</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/CurveMath.html" title="class in ch.ethz.rtc.kernel" target="classFrame">CurveMath</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/CurveSegmentIterator.html" title="class in ch.ethz.rtc.kernel" target="classFrame">CurveSegmentIterator</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/CurveSubSegmentIterator.html" title="class in ch.ethz.rtc.kernel" target="classFrame">CurveSubSegmentIterator</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/CurveSubSegmentIteratorInv.html" title="class in ch.ethz.rtc.kernel" target="classFrame">CurveSubSegmentIteratorInv</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/util/DoubleMath.html" title="class in ch.ethz.rtc.kernel.util" target="classFrame">DoubleMath</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/util/Fraction.html" title="class in ch.ethz.rtc.kernel.util" target="classFrame">Fraction</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/IllegalOperationException.html" title="class in ch.ethz.rtc.kernel" target="classFrame">IllegalOperationException</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/LimitedSegment.html" title="class in ch.ethz.rtc.kernel" target="classFrame">LimitedSegment</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/util/MathUtil.html" title="class in ch.ethz.rtc.kernel.util" target="classFrame">MathUtil</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/MatlabUtil.html" title="class in ch.ethz.rtc.kernel" target="classFrame">MatlabUtil</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/util/Messages.html" title="class in ch.ethz.rtc.kernel.util" target="classFrame">Messages</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/Parameters.html" title="class in ch.ethz.rtc.kernel" target="classFrame">Parameters</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/PeriodicPart.html" title="class in ch.ethz.rtc.kernel" target="classFrame">PeriodicPart</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/util/Point.html" title="class in ch.ethz.rtc.kernel.util" target="classFrame">Point</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/Segment.html" title="class in ch.ethz.rtc.kernel" target="classFrame">Segment</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/SegmentList.html" title="class in ch.ethz.rtc.kernel" target="classFrame">SegmentList</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/SegmentListIterator.html" title="class in ch.ethz.rtc.kernel" target="classFrame">SegmentListIterator</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/SegmentMath.html" title="class in ch.ethz.rtc.kernel" target="classFrame">SegmentMath</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/util/Vector.html" title="class in ch.ethz.rtc.kernel.util" target="classFrame">Vector</A>
<BR>
</FONT></TD>
</TR>
</TABLE>
</BODY>
</HTML>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_06) on Thu Aug 23 23:20:19 MEST 2007 -->
<TITLE>
All Classes (Real-Time Calculus)
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<FONT size="+1" CLASS="FrameHeadingFont">
<B>All Classes</B></FONT>
<BR>
<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
<TR>
<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="ch/ethz/rtc/kernel/AperiodicPart.html" title="class in ch.ethz.rtc.kernel">AperiodicPart</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/Curve.html" title="class in ch.ethz.rtc.kernel">Curve</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/CurveChecker.html" title="class in ch.ethz.rtc.kernel">CurveChecker</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/CurveFactory.html" title="class in ch.ethz.rtc.kernel">CurveFactory</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/CurveMath.html" title="class in ch.ethz.rtc.kernel">CurveMath</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/CurveSegmentIterator.html" title="class in ch.ethz.rtc.kernel">CurveSegmentIterator</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/CurveSubSegmentIterator.html" title="class in ch.ethz.rtc.kernel">CurveSubSegmentIterator</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/CurveSubSegmentIteratorInv.html" title="class in ch.ethz.rtc.kernel">CurveSubSegmentIteratorInv</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/util/DoubleMath.html" title="class in ch.ethz.rtc.kernel.util">DoubleMath</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/util/Fraction.html" title="class in ch.ethz.rtc.kernel.util">Fraction</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/IllegalOperationException.html" title="class in ch.ethz.rtc.kernel">IllegalOperationException</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/LimitedSegment.html" title="class in ch.ethz.rtc.kernel">LimitedSegment</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/util/MathUtil.html" title="class in ch.ethz.rtc.kernel.util">MathUtil</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/MatlabUtil.html" title="class in ch.ethz.rtc.kernel">MatlabUtil</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/util/Messages.html" title="class in ch.ethz.rtc.kernel.util">Messages</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/Parameters.html" title="class in ch.ethz.rtc.kernel">Parameters</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/PeriodicPart.html" title="class in ch.ethz.rtc.kernel">PeriodicPart</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/util/Point.html" title="class in ch.ethz.rtc.kernel.util">Point</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/Segment.html" title="class in ch.ethz.rtc.kernel">Segment</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/SegmentList.html" title="class in ch.ethz.rtc.kernel">SegmentList</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/SegmentListIterator.html" title="class in ch.ethz.rtc.kernel">SegmentListIterator</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/SegmentMath.html" title="class in ch.ethz.rtc.kernel">SegmentMath</A>
<BR>
<A HREF="ch/ethz/rtc/kernel/util/Vector.html" title="class in ch.ethz.rtc.kernel.util">Vector</A>
<BR>
</FONT></TD>
</TR>
</TABLE>
</BODY>
</HTML>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_06) on Thu Aug 23 23:20:10 MEST 2007 -->
<TITLE>
AperiodicPart (Real-Time Calculus)
</TITLE>
<META NAME="keywords" CONTENT="ch.ethz.rtc.kernel.AperiodicPart class">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
parent.document.title="AperiodicPart (Real-Time Calculus)";
}
</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>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AperiodicPart.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV CLASS&nbsp;
&nbsp;<A HREF="../../../../ch/ethz/rtc/kernel/Curve.html" title="class in ch.ethz.rtc.kernel"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?ch/ethz/rtc/kernel/AperiodicPart.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="AperiodicPart.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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">
ch.ethz.rtc.kernel</FONT>
<BR>
Class AperiodicPart</H2>
<PRE>
java.lang.Object
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>ch.ethz.rtc.kernel.AperiodicPart</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD>java.lang.Cloneable</DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>AperiodicPart</B><DT>extends java.lang.Object<DT>implements java.lang.Cloneable</DL>
</PRE>
<P>
<code>AperiodicPart</code> represents the aperiodic part of a curve.
<P>
<P>
<DL>
<DT><B>Since:</B></DT>
<DD></DD>
<DT><B>Version:</B></DT>
<DD>$Id: AperiodicPart.java 360 2006-10-05 13:51:43Z wandeler $</DD>
<DT><B>Author:</B></DT>
<DD>Ernesto Wandeler</DD>
<DT><B>Proposed Rating:</B></DT>
<DD>Yellow (wandeler@tik.ee.ethz.ch)</DD>
<DT><B>Accepted Rating:</B></DT>
<DD>none</DD>
<DT><B>JUnit Rating:</B></DT>
<DD>Yellow (wandeler@tik.ee.thz.ch)</DD>
</DL>
<HR>
<P>
<!-- ======== 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="../../../../ch/ethz/rtc/kernel/AperiodicPart.html#AperiodicPart(double[][])">AperiodicPart</A></B>(double[][]&nbsp;segmentList)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an AperiodicPart from a double[][] of the form
[[x1 y1 s1];[x2 y2 s2];[x3 y3 s3]]
This constructor is intended for use with Matlab.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../ch/ethz/rtc/kernel/AperiodicPart.html#AperiodicPart(ch.ethz.rtc.kernel.SegmentList)">AperiodicPart</A></B>(<A HREF="../../../../ch/ethz/rtc/kernel/SegmentList.html" title="class in ch.ethz.rtc.kernel">SegmentList</A>&nbsp;segmentList)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an AperiodicPart from the passed SegmentList.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../ch/ethz/rtc/kernel/AperiodicPart.html#AperiodicPart(java.lang.String)">AperiodicPart</A></B>(java.lang.String&nbsp;str)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an AperiodicPart from a String of the form
"[[x1 y1 s1];[x2 y2 s2];[x3 y3 s3]]".</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== 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>&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../ch/ethz/rtc/kernel/AperiodicPart.html#clone()">clone</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a deep copy of this AperiodicPart.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../ch/ethz/rtc/kernel/AperiodicPart.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object&nbsp;object)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates whether some other AperiodicPart is equal to this one.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../ch/ethz/rtc/kernel/AperiodicPart.html#move(double, double)">move</A></B>(double&nbsp;dx,
double&nbsp;dy)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Move this AperiodicPart by (dx,dy).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../ch/ethz/rtc/kernel/AperiodicPart.html#round()">round</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Round all points that define this AperiodicPart.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../ch/ethz/rtc/kernel/AperiodicPart.html#scaleX(double)">scaleX</A></B>(double&nbsp;factor)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Scales this Segment along the x-axis.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../ch/ethz/rtc/kernel/AperiodicPart.html#scaleY(double)">scaleY</A></B>(double&nbsp;factor)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Scales this Segment along the y-axis.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../ch/ethz/rtc/kernel/SegmentList.html" title="class in ch.ethz.rtc.kernel">SegmentList</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../ch/ethz/rtc/kernel/AperiodicPart.html#segments()">segments</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the segments of this AperiodicPart as a SegmentList.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../ch/ethz/rtc/kernel/AperiodicPart.html#toMatlabString()">toMatlabString</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the data of this curve in a textual form for export.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../ch/ethz/rtc/kernel/AperiodicPart.html#toString()">toString</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a String representation of this AperiodicPart.</TD>
</TR>
</TABLE>
&nbsp;<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>getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ========= 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="AperiodicPart(ch.ethz.rtc.kernel.SegmentList)"><!-- --></A><H3>
AperiodicPart</H3>
<PRE>
public <B>AperiodicPart</B>(<A HREF="../../../../ch/ethz/rtc/kernel/SegmentList.html" title="class in ch.ethz.rtc.kernel">SegmentList</A>&nbsp;segmentList)</PRE>
<DL>
<DD>Constructs an AperiodicPart from the passed SegmentList.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>segmentList</CODE> - the SegmentList.</DL>
</DL>
<HR>
<A NAME="AperiodicPart(double[][])"><!-- --></A><H3>
AperiodicPart</H3>
<PRE>
public <B>AperiodicPart</B>(double[][]&nbsp;segmentList)</PRE>
<DL>
<DD>Constructs an AperiodicPart from a double[][] of the form
[[x1 y1 s1];[x2 y2 s2];[x3 y3 s3]]
This constructor is intended for use with Matlab.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>segmentList</CODE> - the double[][]</DL>
</DL>
<HR>
<A NAME="AperiodicPart(java.lang.String)"><!-- --></A><H3>
AperiodicPart</H3>
<PRE>
public <B>AperiodicPart</B>(java.lang.String&nbsp;str)</PRE>
<DL>
<DD>Constructs an AperiodicPart from a String of the form
"[[x1 y1 s1];[x2 y2 s2];[x3 y3 s3]]".
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>str</CODE> - the String of form "[[x1 y1 s1];[x2 y2 s2];[x3 y3 s3]]"</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="segments()"><!-- --></A><H3>
segments</H3>
<PRE>
public <A HREF="../../../../ch/ethz/rtc/kernel/SegmentList.html" title="class in ch.ethz.rtc.kernel">SegmentList</A> <B>segments</B>()</PRE>
<DL>
<DD>Returns the segments of this AperiodicPart as a SegmentList.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the segments of this AperiodicPart as a SegmentList.</DL>
</DD>
</DL>
<HR>
<A NAME="scaleX(double)"><!-- --></A><H3>
scaleX</H3>
<PRE>
public void <B>scaleX</B>(double&nbsp;factor)</PRE>
<DL>
<DD>Scales this Segment along the x-axis. The factor must be greater than 0.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>factor</CODE> - the factor to scale this Segment.</DL>
</DD>
</DL>
<HR>
<A NAME="scaleY(double)"><!-- --></A><H3>
scaleY</H3>
<PRE>
public void <B>scaleY</B>(double&nbsp;factor)</PRE>
<DL>
<DD>Scales this Segment along the y-axis.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>factor</CODE> - the factor to scale this Segment.</DL>
</DD>
</DL>
<HR>
<A NAME="move(double, double)"><!-- --></A><H3>
move</H3>
<PRE>
public void <B>move</B>(double&nbsp;dx,
double&nbsp;dy)</PRE>
<DL>
<DD>Move this AperiodicPart by (dx,dy). If dx is positive, a Segment (0,0,0)
is added at the beginning of the AperiodicPart. If dx is negative, the
resulting AperiodicPart defined over x < 0 is lost.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>dx</CODE> - the x-value by which this AperiodicPart is moved.<DD><CODE>dy</CODE> - the y-value by which this AperiodicPart is moved.</DL>
</DD>
</DL>
<HR>
<A NAME="round()"><!-- --></A><H3>
round</H3>
<PRE>
public void <B>round</B>()</PRE>
<DL>
<DD>Round all points that define this AperiodicPart.
This includes all start points of all segments, all slopes,
as well as px0, py0, pdy.
All related values such as pyMin and pyMax are newly calculated.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
equals</H3>
<PRE>
public boolean <B>equals</B>(java.lang.Object&nbsp;object)</PRE>
<DL>
<DD>Indicates whether some other AperiodicPart is equal to this one.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>object</CODE> - the AperiodicPart to compare this one with.
<DT><B>Returns:</B><DD><code>true</code> if this AperiodicPart equals object,
<code>false</code> otherwise.</DL>
</DD>
</DL>
<HR>
<A NAME="clone()"><!-- --></A><H3>
clone</H3>
<PRE>
public java.lang.Object <B>clone</B>()</PRE>
<DL>
<DD>Creates a deep copy of this AperiodicPart.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE>clone</CODE> in class <CODE>java.lang.Object</CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>a deep copy of this AperiodicPart.</DL>