class BorderPoint

BorderPoint is the datatype we use to store points of the domain, we store the coordinates (2 dimensions) and the trianglesize (of the net in that point) if known More...

Definition#include <k2dgrflow/k2dborderbase.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Private Members


Detailed Description

BorderPoint is the datatype we use to store points of the domain, we store the coordinates (2 dimensions) and the trianglesize (of the net in that point) if known

 BorderPoint (double coord1, double coord2, double triaSize=1.0)

BorderPoint

create a borderpoint with the 2 coordinates and the trianglesize in the coord

 BorderPoint (const BorderPoint &bp)

BorderPoint

create a borderpoint with another point

double  coord1 ()

coord1

return the first coordinate

double  coord2 ()

coord2

return the second coordinate

double  triaSize ()

triaSize

return the trianglesize set in a certain point

void  setTriaSize (double &size)

setTriaSize

set the trianglesize in a certain point. Changes present value

double & at (uint index)

at

[const]

return depending on index coord1(index=0), coord2 (index=1) or trianglesize (index=2)

void  duplicate (BorderPoint &a)

duplicate

duplicate the given borderpoint a.

bool  operator== ( const BorderPoint &a )

operator==

[const]

are 2 points equal? only looks at the coordinates, NOT at the trianglesize

bool  operator!= ( const BorderPoint &a )

operator!=

[const]

are 2 points not equal? only looks at the coordinate, NOT at the trianglesize

QArray<double> data

data

[private]


Generated by: benny@okidoki on Thu Jun 21 10:41:51 2001, using kdoc 2.0a53.