Go::Line2DInt Class Reference
[Intersections]

Class representing an algebraic line in 2-dimensional space. More...

#include <Line2DInt.h>

Inheritance diagram for Go::Line2DInt:

Go::AlgObj2DInt Go::AlgObjectInt List of all members.

Public Member Functions

 Line2DInt (Point point, Point dir)
 Constructor.
 Line2DInt (double a, double b, double c)
 Constructor.
virtual ~Line2DInt ()
 Destructor.
double a ()
 Get the x multiplicator.
double b ()
 Get the y multiplicator.
double c ()
 Get the constant.

Detailed Description

Class representing an algebraic line in 2-dimensional space.

Definition at line 49 of file Line2DInt.h.


Constructor & Destructor Documentation

Go::Line2DInt::Line2DInt ( Point  point,
Point  dir 
)

Constructor.

Parameters:
point reference point which lies on the line.
dir direction of the line.

Go::Line2DInt::Line2DInt ( double  a,
double  b,
double  c 
)

Constructor.

The line is given by the expression $ax + by + c = 0$.

Parameters:
a the x multiplicator.
b the y multiplicator.
c the constant


Member Function Documentation

double Go::Line2DInt::a (  ) 

Get the x multiplicator.

Returns:
The x multiplicator.

double Go::Line2DInt::b (  ) 

Get the y multiplicator.

Returns:
The y multiplicator.

double Go::Line2DInt::c (  ) 

Get the constant.

Returns:
The constant.


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