class Segment2D

This class is designed to handle a segment in 2D

Inheritance:


Public Fields

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

Public Methods

[more] constructors
[more]virtual ~Segment2D()
destructor
[more]virtual void saveXFile(XFile* file)
save the segment
[more]virtual void loadXFile(XFile* file)
load a segment
[more]virtual const char* sprint()
return the segment into a string
[more]virtual void draw(Image* image_, Color color_)
draw the segment on an image


Inherited from geomObject:

Public Fields

obool verbose

Public Methods

ovirtual void xdraw(Display* pDisplay_, Pixmap pixmap_, GC gc_, unsigned long color_)


Documentation

This class is designed to handle a segment in 2D

A Segment2D is finite, starts at P0 and ends at P1.

oPoint2D P0
first point supporting the segment

oPoint2D P1
second point supporting the segment

o constructors

o Segment2D()

o Segment2D(Point2D P0_, Point2D P1_)

ovirtual ~Segment2D()
destructor

ovirtual void saveXFile(XFile* file)
save the segment

ovirtual void loadXFile(XFile* file)
load a segment

ovirtual const char* sprint()
return the segment into a string

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


This class has no child classes.
Author:
Sebastien Marcel (marcel@idiap.ch)
Version:
2.0 Fri 15 Jul 2005 11:35:20 AM CEST
Since:
1.0

Alphabetic index HTML hierarchy of classes or Java



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