class Ray2D

This class is designed to handle a ray in 2D

Inheritance:


Public Fields

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

Public Methods

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


Inherited from geomObject:

Public Fields

obool verbose

Public Methods

ovirtual void xdraw(Display* pDisplay_, Pixmap pixmap_, GC gc_, unsigned long color_, int line_width_ = 1, int line_style_ = LineSolid, bool fill_ = false, int fill_style_ = FillSolid)


Documentation

This class is designed to handle a ray in 2D

A Ray2D is semi-finite, starts at P0 and extends beyond P1

oPoint2D P0
first point supporting the ray

oPoint2D P1
second point supporting the ray

o constructors

o Ray2D()

o Ray2D(Point2D P0_, Point2D P1_)

ovirtual ~Ray2D()
destructor

ovirtual void saveXFile(XFile* file)
save the ray

ovirtual void loadXFile(XFile* file)
load a ray

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

ovirtual void draw(Image* image_, Color color_)
draw the ray in an image


This class has no child classes.
Author:
Sebastien Marcel (marcel@idiap.ch)
Version:
2.0 Wed 28 Jun 2006 05:19:32 PM CEST
Since:
1.0

Alphabetic index HTML hierarchy of classes or Java



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