gridCompletion Class Reference
[Graph series]

Place a regular grid in the plane and connect all nodes on common grid lines. More...

#include <sparseGraph.h>

Inheritance diagram for gridCompletion:

sparseGraph abstractGraph abstractMixedGraph managedObject goblinRootObject

Public Types

enum  TOptShape {
  SHAPE_TRIANGULAR = 0,
  SHAPE_SQUARE = 1,
  SHAPE_HEXAGONAL = 2
}

Public Member Functions

 gridCompletion (TNode dim, TOptShape shape, goblinController &_CT=goblinDefaultContext) throw (ERRejected)

Detailed Description

Place a regular grid in the plane and connect all nodes on common grid lines.


Member Enumeration Documentation

enum TOptShape
 

Complete grid type.

Enumerator:
SHAPE_TRIANGULAR  Grid is formed of triangular faces, overall triangular shape.
SHAPE_SQUARE  Grid is formed of square faces, overall square shape.
SHAPE_HEXAGONAL  Grid is formed of triangular faces, overall hexagonal shape.


Constructor & Destructor Documentation

gridCompletion TNode  dim,
TOptShape  shape,
goblinController _CT = goblinDefaultContext
throw (ERRejected)
 

Generate a grid completion from scratch.

Parameters:
dim The number of nodes on an exterior grid line
shape The shape of the convex hull of nodes
_CT The controller object to manage the created graph