Go::IntersectionLink Class Reference
[Intersections]

This class represents a link between two intersection points. More...

#include <IntersectionLink.h>

List of all members.

Public Member Functions

 IntersectionLink (IntersectionPoint *p1, IntersectionPoint *p2)
 Constructor.
void getIntersectionPoints (IntersectionPoint *&p1, IntersectionPoint *&p2)
 This function will set the 'p1' and 'p2' to point to the IntersectionPoints participating in this link.
void getIntersectionPoints (const IntersectionPoint *&p1, const IntersectionPoint *&p2) const
 This function will set the 'p1' and 'p2' to point to the IntersectionPoints participating in this link.
IntersectionPointgetOtherPoint (const IntersectionPoint *p1)
 When one of the two points in the link is input, this function returns the other point.
bool isAttachedTo (const IntersectionPoint *ip)
 Returns true if the link is attached to the input point.
void copyMetaInformation (const IntersectionLink &rhs)
 Set all meta-information (all private info except IntersectionPoint-pointers) equal to the one in 'rhs'.
bool delimitsPAC () const
 Find out whether this link is participating in defining a partial coincidence area.
void setPAC (bool value)
void setIsoparametricIn (int dir, bool iso)
bool isIsoparametricIn (int dir) const
bool isIsoparametric () const
int numParams () const
int crosses (const boost::shared_ptr< IntersectionLink > &link) const
 Test for crossing between 'this' and 'link'.
const LinkTypelinkType () const
 Returns the link type of the link.
LinkTypelinkType ()
 Returns the link type of the link.
void writeInfo () const
 Writes info about the link to standard output.
void dumpToStream (std::ostream &os)


Detailed Description

This class represents a link between two intersection points.

It is owned by both of the points in question, and can therefore refer to them only by means of ordinary pointers (no shared_ptr stuff here...)

Definition at line 55 of file IntersectionLink.h.


Member Function Documentation

const LinkType& Go::IntersectionLink::linkType (  )  const [inline]

Returns the link type of the link.

Return values:
a LinkType enum

Definition at line 247 of file IntersectionLink.h.

LinkType& Go::IntersectionLink::linkType (  )  [inline]

Returns the link type of the link.

Return values:
a LinkType enum

Definition at line 252 of file IntersectionLink.h.


The documentation for this class was generated from the following file:
Generated on Fri Nov 23 12:24:34 2007 for GoTools Intersections Library by  doxygen 1.5.1