22 class axlIntersectionPrivate{
71 if(dynamic_cast<axlAbstractData *>(newData)){
92 if (dynamic_cast<axlLine *>(d->data1) && dynamic_cast<axlLine *>(d->data2)){
111 double B = b1 - (b2/a2)*a1;
114 }
else if(!(a1 == 0)){
127 if(std::abs(zSol1 -zSol2) < 0.01){
128 if(d->output == NULL){
129 d->output =
new axlPoint(xSol2, ySol2, zSol2);
131 d->output->setCoordinates(xSol2, ySol2, zSol2);
141 return "give the intersection point(s) between two axlData";
146 return "axlIntersection";
Class axlPoint defines 3D points.
axlAbstractData * getInput(int channel) const
Class axlLine defines 3D lines.
axlPoint * secondPoint(void) const
Returns second point of the line.
dtkAbstractProcess * createaxlIntersectionProcess(void)
QString description(void) const
axlPoint * firstPoint(void) const
Returns first point of the line.
axlIntersection(QObject *parent=0)
QString identifier(void) const
dtkAbstractData * output(void)
Class axlAbstractData defines an API for all type of axel data.
void setInput(dtkAbstractData *newData, int channel)