Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > by-pkgid > 2fc07611b08d4a735fd34d5eb60d8e16 > files > 2088

ciao-1.10p8-3mdv2010.0.i586.rpm

<HTML>
<HEAD>
<!-- Created by texi2html 1.56k + clip patches and <A href="http://www.clip.dia.fi.upm.es/Software">lpdoc</A> from ciao.texi on 28 January 2007 -->

<LINK rel="stylesheet" href="ciao.css" type="text/css">
<TITLE>The Ciao Prolog System               - line_class (library)</TITLE>
</HEAD>
<BODY> 
Go to the <A HREF="ciao_1.html">first</A>, <A HREF="ciao_141.html">previous</A>, <A HREF="ciao_143.html">next</A>, <A HREF="ciao_241.html">last</A> section, <A HREF="ciao_toc.html">table of contents</A>.
<P><HR><P>


<H1><A NAME="SEC590" HREF="ciao_toc.html#TOC590">line_class (library)</A></H1>
<P>
<A NAME="IDX6524"></A>


<P>
<STRONG>Author(s):</STRONG> Montserrat Urraca.


<P>
<STRONG>Version:</STRONG> 1.10#7 (2006/4/26, 19:22:13 CEST)


<P>
<STRONG>Version of last change:</STRONG> 1.9#131 (2003/12/4, 17:33:38 CET)



<UL>
<LI><A HREF="ciao_142.html#SEC591">Usage and interface (line_class)</A>
<LI><A HREF="ciao_142.html#SEC592">Documentation on exports (line_class)</A>
</UL>



<H2><A NAME="SEC591" HREF="ciao_toc.html#TOC591">Usage and interface (<CODE>line_class</CODE>)</A></H2>

<div class="cartouche">

<UL>

<LI><STRONG>Library usage:</STRONG>

<CODE>:- use_module(library(line_class)).</CODE>

<LI><STRONG>Exports:</STRONG>


<UL>

<LI><EM>Predicates:</EM>

<A NAME="IDX6525"></A>
<CODE>vertices/1</CODE>, 
<A NAME="IDX6526"></A>
<CODE>arrowheads/1</CODE>.

</UL>

<LI><STRONG>Other modules used:</STRONG>


<UL>

<LI><EM>System library modules:</EM>

<A NAME="IDX6527"></A>
<CODE>objects/objects_rt</CODE>, 
<A NAME="IDX6528"></A>
<CODE>lists</CODE>.

</UL>

</UL>

</div class="cartouche">



<H2><A NAME="SEC592" HREF="ciao_toc.html#TOC592">Documentation on exports (<CODE>line_class</CODE>)</A></H2>
<P>
<A NAME="IDX6529"></A>
<A NAME="IDX6530"></A>
<DL>
<DT><span class="define">PREDICATE:</span> <B>vertices/1:</B>
<DD><A NAME="IDX6531"></A>


<P>
<STRONG>Usage 1:</STRONG> <CODE>vertices(+ListofPoints)</CODE>

<UL>
<LI><EM>Description:</EM> The arguments of the list specify the coordinates for two or more points that describe a serie of connected line segments.

<LI><EM>Call and exit should be <EM>compatible</EM> with:</EM>

<CODE>+ListofPoints</CODE> is a list.
 (<CODE>basic_props:list/1</CODE>)
</UL>

<P>
<STRONG>Usage 2:</STRONG> <CODE>vertices(-ListofPoints)</CODE>

<UL>
<LI><EM>Description:</EM> Gets the list of points of the line.

<LI><EM>Call and exit should be <EM>compatible</EM> with:</EM>

<CODE>-ListofPoints</CODE> is a list.
 (<CODE>basic_props:list/1</CODE>)
</UL>

</DL>

<P>
<A NAME="IDX6532"></A>
<A NAME="IDX6533"></A>
<DL>
<DT><span class="define">PREDICATE:</span> <B>arrowheads/1:</B>
<DD><A NAME="IDX6534"></A>


<P>
<STRONG>Usage 1:</STRONG> <CODE>arrowheads(+Where)</CODE>

<UL>
<LI><EM>Description:</EM> <CODE>Where</CODE> indicates whether or not arrowheads are to be drawn at one or both ends of the line. <CODE>Where</CODE> must have one of the next values: none ( for no arrowheads ), first (for an arrowhead at the first point of the line), last (for an arrowhead at the last point of the line), or both (for arrowheads at both ends). This option defaults to none.

<LI><EM>Call and exit should be <EM>compatible</EM> with:</EM>

<CODE>+Where</CODE> is currently instantiated to an atom.
 (<CODE>term_typing:atom/1</CODE>)
</UL>

<P>
<STRONG>Usage 2:</STRONG> <CODE>arrowheads(-Where)</CODE>

<UL>
<LI><EM>Description:</EM> Gets position of the arrowheads.

<LI><EM>Call and exit should be <EM>compatible</EM> with:</EM>

<CODE>-Where</CODE> is currently instantiated to an atom.
 (<CODE>term_typing:atom/1</CODE>)
</UL>

</DL>

<P><HR><P>
Go to the <A HREF="ciao_1.html">first</A>, <A HREF="ciao_141.html">previous</A>, <A HREF="ciao_143.html">next</A>, <A HREF="ciao_241.html">last</A> section, <A HREF="ciao_toc.html">table of contents</A>.
</BODY>
</HTML>