DGtal
1.5.beta
|
#include <DGtal/geometry/curves/DSLSubsegment.h>
Public Member Functions | |
RayC () | |
RayC (const Integer x0, const Integer y0) | |
RayC (const Integer p, const Integer q, const Integer r, const Integer slope) | |
~RayC () | |
Data Fields | |
Integer | x |
Integer | y |
Class Ray Implements the concept of Ray in the dual space (alpha,beta)
Definition at line 234 of file DSLSubsegment.h.
DGtal::DSLSubsegment< TInteger, TNumber >::RayC::RayC | ( | ) |
Default constructor. not valid
DGtal::DSLSubsegment< TInteger, TNumber >::RayC::RayC | ( | const Integer | x0, |
const Integer | y0 | ||
) |
Constructor of the ray R(alpha,beta): beta = -alpha x0 + y0
x0 | slope of the ray |
y0 | intercept of the ray |
DGtal::DSLSubsegment< TInteger, TNumber >::RayC::RayC | ( | const Integer | p, |
const Integer | q, | ||
const Integer | r, | ||
const Integer | slope | ||
) |
Constructor of the ray passing through the point (p/q,r/q) and of given slope
p | numerator of the point x-coordinate |
q | denominator of the point x- and y-coordinates |
r | numerator of the point y-coordinate |
slope | slope of the ray |
DGtal::DSLSubsegment< TInteger, TNumber >::RayC::~RayC | ( | ) |
Integer DGtal::DSLSubsegment< TInteger, TNumber >::RayC::x |
slope of the ray
Definition at line 242 of file DSLSubsegment.h.
Integer DGtal::DSLSubsegment< TInteger, TNumber >::RayC::y |
intercept of the ray
Definition at line 247 of file DSLSubsegment.h.