mirror of
https://github.com/thestk/stk
synced 2026-01-11 20:11:52 +00:00
57 lines
3.4 KiB
HTML
57 lines
3.4 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>The Synthesis ToolKit in C++ (STK)</TITLE>
|
|
<LINK HREF="doxygen.css" REL="stylesheet" TYPE="text/css">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF">
|
|
<CENTER>
|
|
<img src="princeton.gif"> <img src="ccrma.gif"> <img src="mcgill.gif"><P>
|
|
<a class="qindex" href="index.html">Home</a> <a class="qindex" href="information.html">Information</a> <a class="qindex" href="classes.html">Classes</a> <a class="qindex" href="download.html">Download</a> <a class="qindex" href="usage.html">Usage</a> <a class="qindex" href="maillist.html">Mail List</a> <a class="qindex" href="system.html">Requirements</a> <a class="qindex" href="links.html">Links</a> <a class="qindex" href="tutorial.html">Tutorial</a></CENTER>
|
|
<HR>
|
|
<!-- Generated by Doxygen 1.3.4 -->
|
|
<h1>Vector3D.h</h1><div class="fragment"><pre>00001 <span class="comment">/***************************************************/</span>
|
|
00009 <span class="comment">/***************************************************/</span>
|
|
00010
|
|
00011 <span class="preprocessor">#if !defined(__VECTOR3D_H)</span>
|
|
00012 <span class="preprocessor"></span><span class="preprocessor">#define __VECTOR3D_H</span>
|
|
00013 <span class="preprocessor"></span>
|
|
<a name="l00014"></a><a class="code" href="classVector3D.html">00014</a> <span class="keyword">class </span><a class="code" href="classVector3D.html">Vector3D</a> {
|
|
00015
|
|
00016 <span class="keyword">public</span>:
|
|
00018 <a class="code" href="classVector3D.html#a0">Vector3D</a>(<span class="keywordtype">double</span> initX=0.0, <span class="keywordtype">double</span> initY=0.0, <span class="keywordtype">double</span> initZ=0.0);
|
|
00019
|
|
00021 <a class="code" href="classVector3D.html#a1">~Vector3D</a>();
|
|
00022
|
|
00024 <span class="keywordtype">double</span> <a class="code" href="classVector3D.html#a2">getX</a>();
|
|
00025
|
|
00027 <span class="keywordtype">double</span> <a class="code" href="classVector3D.html#a3">getY</a>();
|
|
00028
|
|
00030 <span class="keywordtype">double</span> <a class="code" href="classVector3D.html#a4">getZ</a>();
|
|
00031
|
|
00033 <span class="keywordtype">double</span> <a class="code" href="classVector3D.html#a5">getLength</a>();
|
|
00034
|
|
00036 <span class="keywordtype">void</span> <a class="code" href="classVector3D.html#a6">setXYZ</a>(<span class="keywordtype">double</span> anX, <span class="keywordtype">double</span> aY, <span class="keywordtype">double</span> aZ);
|
|
00037
|
|
00039 <span class="keywordtype">void</span> <a class="code" href="classVector3D.html#a7">setX</a>(<span class="keywordtype">double</span> aval);
|
|
00040
|
|
00042 <span class="keywordtype">void</span> <a class="code" href="classVector3D.html#a8">setY</a>(<span class="keywordtype">double</span> aval);
|
|
00043
|
|
00045 <span class="keywordtype">void</span> <a class="code" href="classVector3D.html#a9">setZ</a>(<span class="keywordtype">double</span> aval);
|
|
00046
|
|
00047 <span class="keyword">protected</span>:
|
|
00048 <span class="keywordtype">double</span> myX;
|
|
00049 <span class="keywordtype">double</span> myY;
|
|
00050 <span class="keywordtype">double</span> myZ;
|
|
00051 };
|
|
00052
|
|
00053 <span class="preprocessor">#endif</span>
|
|
</pre></div><HR>
|
|
|
|
<table>
|
|
<tr><td><A HREF="http://www-ccrma.stanford.edu/software/stk/"><I>The Synthesis ToolKit in C++ (STK)</I></A></td></tr>
|
|
<tr><td>©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
|
</table>
|
|
|
|
</BODY>
|
|
</HTML>
|