class Line2D

This class is designed to handle a 2D line

Inheritance:


Public Fields

[more]Point2D P0
first point supporting the line
[more]Point2D P1
second point supporting the line

Public Methods

[more] constructors
[more]virtual ~Line2D()
destructor
[more]virtual void reset(Point2D P0_, Point2D P1_)
[more]virtual void saveXFile(XFile* file)
save the line
[more]virtual void loadXFile(XFile* file)
load a line
[more]virtual const char* sprint()
return a line into a string
[more]virtual void draw(Image* image_, Color color_)
draw the line on an image
[more]virtual void xdraw(Display* pDisplay_, Pixmap pixmap_, GC gc_, unsigned long color_)
draw the line on a X11 display


Inherited from geomObject:

Public Fields

obool verbose


Documentation

This class is designed to handle a 2D line

A Line2D is infinite.

oPoint2D P0
first point supporting the line

oPoint2D P1
second point supporting the line

o constructors

o Line2D()

o Line2D(Point2D P0_, Point2D P1_)

ovirtual ~Line2D()
destructor

ovirtual void reset(Point2D P0_, Point2D P1_)

ovirtual void saveXFile(XFile* file)
save the line

ovirtual void loadXFile(XFile* file)
load a line

ovirtual const char* sprint()
return a line into a string

ovirtual void draw(Image* image_, Color color_)
draw the line on an image

ovirtual void xdraw(Display* pDisplay_, Pixmap pixmap_, GC gc_, unsigned long color_)
draw the line on a X11 display


This class has no child classes.
Author:
Sebastien Marcel (marcel@idiap.ch) Dan Sunday (http://www.softsurfer.com/)
Version:
2.0 Fri 15 Jul 2005 11:35:19 AM CEST
Since:
1.0

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.