Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Arak::ScanEdge Struct Reference

#include <cone_tracing.hpp>

Collaboration diagram for Arak::ScanEdge:

Collaboration graph
[legend]
List of all members.

Detailed Description

A scan edge is an edge of the scan adorned with metadata.

Definition at line 96 of file cone_tracing.hpp.

Public Member Functions

void init (const Geometry::Point &vertex, const Geometry::Direction &min, const Geometry::Direction &max, Coloring::IntEdgeHandle e)
 Constructor.

ScanVertex min ()
 Returns the minimum vertex of this scan edge.

ScanVertex max ()
 Returns the maximum vertex of this scan edge.


Public Attributes

Coloring::IntEdgeHandle edge
 The handle to the actual edge.

Geometry::Direction dmin
 The direction to the minimum vertex from the scan origin.

Geometry::Point pmin
 The location of the minimum vertex.

Geometry::Direction dmax
 The direction to the maximum vertex from the scan origin.

Geometry::Point pmax
 The location of the maximum vertex.

bool pruned
 This flag is set to true if this edge has been pruned from the scan list.

std::list< ScanEdgeHandle
>::iterator 
it
 If this edge is currently in the scan list, then this iterator points to this edge's location in the scan list.


Member Function Documentation

void Arak::ScanEdge::init const Geometry::Point vertex,
const Geometry::Direction min,
const Geometry::Direction max,
Coloring::IntEdgeHandle  e
[inline]
 

Constructor.

Parameters:
vertex the vertex of the scan cone
min the minimum direction of the scan cone
max the maximum direction of the scan cone
e a handle to the edge

Definition at line 143 of file cone_tracing.hpp.

References Arak::Geometry::Direction, dmax, dmin, Arak::Coloring::IntEdgeHandle, Arak::intersection(), pmax, pmin, Arak::Geometry::Point, pruned, and Arak::Geometry::Segment.

Referenced by Arak::computeFirstSonarImpact(), and Arak::coneTrace().

ScanVertex Arak::ScanEdge::max  )  [inline]
 

Returns the maximum vertex of this scan edge.

Definition at line 193 of file cone_tracing.hpp.

References Arak::ScanEdgeHandle.

ScanVertex Arak::ScanEdge::min  )  [inline]
 

Returns the minimum vertex of this scan edge.

Definition at line 186 of file cone_tracing.hpp.

References Arak::ScanEdgeHandle.


Member Data Documentation

Geometry::Direction Arak::ScanEdge::dmax
 

The direction to the maximum vertex from the scan origin.

Definition at line 116 of file cone_tracing.hpp.

Referenced by Arak::computeFirstSonarImpact(), and init().

Geometry::Direction Arak::ScanEdge::dmin
 

The direction to the minimum vertex from the scan origin.

Definition at line 106 of file cone_tracing.hpp.

Referenced by Arak::computeFirstSonarImpact(), and init().

Coloring::IntEdgeHandle Arak::ScanEdge::edge
 

The handle to the actual edge.

Definition at line 101 of file cone_tracing.hpp.

std::list<ScanEdgeHandle>::iterator Arak::ScanEdge::it
 

If this edge is currently in the scan list, then this iterator points to this edge's location in the scan list.

Definition at line 133 of file cone_tracing.hpp.

Geometry::Point Arak::ScanEdge::pmax
 

The location of the maximum vertex.

Definition at line 121 of file cone_tracing.hpp.

Referenced by Arak::computeFirstSonarImpact(), and init().

Geometry::Point Arak::ScanEdge::pmin
 

The location of the minimum vertex.

Definition at line 111 of file cone_tracing.hpp.

Referenced by Arak::computeFirstSonarImpact(), and init().

bool Arak::ScanEdge::pruned
 

This flag is set to true if this edge has been pruned from the scan list.

Definition at line 127 of file cone_tracing.hpp.

Referenced by init().


The documentation for this struct was generated from the following file:
Generated on Wed May 25 14:41:08 2005 for Arak by doxygen 1.3.6