/usr/share/doc/libstarlink-ast-doc/node61.html is in libstarlink-ast-doc 8.6.2+dfsg-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!--Converted with LaTeX2HTML 2008 (1.71)
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>Example--the UnitMap</TITLE>
<META NAME="description" CONTENT="Example--the UnitMap">
<META NAME="keywords" CONTENT="sun211">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META NAME="Generator" CONTENT="LaTeX2HTML v2008">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<LINK REL="STYLESHEET" HREF="sun211.css">
<LINK REL="next" HREF="node62.html">
<LINK REL="previous" HREF="node60.html">
<LINK REL="up" HREF="node51.html">
<LINK REL="next" HREF="node62.html">
</HEAD>
<BODY >
<DIV CLASS="navigation"><!--Navigation Panel-->
<A NAME="tex2html1048"
HREF="node62.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
SRC="/usr/share/latex2html/icons/next.png"></A>
<A NAME="tex2html1046"
HREF="node51.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
SRC="/usr/share/latex2html/icons/up.png"></A>
<A NAME="tex2html1040"
HREF="node60.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
SRC="/usr/share/latex2html/icons/prev.png"></A>
<BR>
<B> Next:</B> <A NAME="tex2html1049"
HREF="node62.html">Example the PermMap</A>
<B> Up:</B> <A NAME="tex2html1047"
HREF="node51.html">Inter-Relating Coordinate Systems (Mappings)</A>
<B> Previous:</B> <A NAME="tex2html1041"
HREF="node60.html">Handling Missing (Bad) Coordinate</A>
<BR>
<BR></DIV>
<!--End of Navigation Panel-->
<H2><A NAME="SECTION000510000000000000000"></A><A NAME="ss:unitmapexample"></A>
<BR>
Example--the UnitMap
</H2>
<P>
The UnitMapUnitMap is the simplest of Mappings. It is a null MappingMapping. Its
purpose is simply to copy coordinate values, unaltered, from its input
to its output and <SPAN CLASS="textit">vice versa</SPAN>.
<P>
A UnitMap has no additional attributes beyond those of a basic
Mapping. Its NinNin and NoutNout attributes are always equal and are
specified by the first argument supplied to its constructor. For
example:
<P>
<SMALL CLASS="SMALL">
<BR>
<IMG
WIDTH="248" HEIGHT="91" ALIGN="BOTTOM" BORDER="0"
SRC="img78.png"
ALT="\begin{terminalv}
AstUnitMap *unitmap;
\par
...
\par
unitmap = astUnitMap( 2, '''' );
\end{terminalv}">
<BR>
</SMALL>
<P>
will create a UnitMap that copies 2-dimensional coordinates. Inverting
a UnitMap has no effect beyond changing the value of its InvertInvert
attribute.
<P>
The main use of a UnitMap is to allow a Mapping to be supplied when one
is required (as an argument to a function, for example) but you wish
it to leave coordinate values unchanged.
<P>
<BR><HR>
</BODY>
</HTML>
|