summaryrefslogtreecommitdiffstats
path: root/src/bltGrElemLine.C
diff options
context:
space:
mode:
authorjoye <joye>2014-06-27 19:54:52 (GMT)
committerjoye <joye>2014-06-27 19:54:52 (GMT)
commit9e9dd8ccf1d2b4e344d43cf462d27d2c710786b9 (patch)
tree47f9c288d629bb815c02c017ddbf3ad26809297d /src/bltGrElemLine.C
parent514cef44b509b69d5f25789c518d23c0a8e5a773 (diff)
downloadblt-9e9dd8ccf1d2b4e344d43cf462d27d2c710786b9.zip
blt-9e9dd8ccf1d2b4e344d43cf462d27d2c710786b9.tar.gz
blt-9e9dd8ccf1d2b4e344d43cf462d27d2c710786b9.tar.bz2
*** empty log message ***
Diffstat (limited to 'src/bltGrElemLine.C')
-rw-r--r--src/bltGrElemLine.C16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/bltGrElemLine.C b/src/bltGrElemLine.C
index 29e3048..9cd9337 100644
--- a/src/bltGrElemLine.C
+++ b/src/bltGrElemLine.C
@@ -1199,7 +1199,7 @@ void LineElement::generateParametricSpline(MapInfo *mapPtr)
p = origPts[i];
q = origPts[j];
count++;
- if (lineRectClip(&exts, &p, &q)) {
+ if (LineRectClip(&exts, &p, &q)) {
count += (int)(hypot(q.x - p.x, q.y - p.y) * 0.5);
}
}
@@ -1237,7 +1237,7 @@ void LineElement::generateParametricSpline(MapInfo *mapPtr)
/* Is any part of the interval (line segment) in the plotting
* area? */
- if (lineRectClip(&exts, &p, &q)) {
+ if (LineRectClip(&exts, &p, &q)) {
double dp, dq;
/* Distance of original point to p. */
@@ -1786,7 +1786,7 @@ void LineElement::mapErrorBars(LineStyle **styleMap)
q = graphPtr_->map2D(low, y, ops->xAxis, ops->yAxis);
segPtr->p = p;
segPtr->q = q;
- if (lineRectClip(&exts, &segPtr->p, &segPtr->q)) {
+ if (LineRectClip(&exts, &segPtr->p, &segPtr->q)) {
segPtr++;
*indexPtr++ = i;
}
@@ -1794,7 +1794,7 @@ void LineElement::mapErrorBars(LineStyle **styleMap)
segPtr->p.x = segPtr->q.x = p.x;
segPtr->p.y = p.y - stylePtr->errorBarCapWidth;
segPtr->q.y = p.y + stylePtr->errorBarCapWidth;
- if (lineRectClip(&exts, &segPtr->p, &segPtr->q)) {
+ if (LineRectClip(&exts, &segPtr->p, &segPtr->q)) {
segPtr++;
*indexPtr++ = i;
}
@@ -1802,7 +1802,7 @@ void LineElement::mapErrorBars(LineStyle **styleMap)
segPtr->p.x = segPtr->q.x = q.x;
segPtr->p.y = q.y - stylePtr->errorBarCapWidth;
segPtr->q.y = q.y + stylePtr->errorBarCapWidth;
- if (lineRectClip(&exts, &segPtr->p, &segPtr->q)) {
+ if (LineRectClip(&exts, &segPtr->p, &segPtr->q)) {
segPtr++;
*indexPtr++ = i;
}
@@ -1855,7 +1855,7 @@ void LineElement::mapErrorBars(LineStyle **styleMap)
q = graphPtr_->map2D(x, low, ops->xAxis, ops->yAxis);
segPtr->p = p;
segPtr->q = q;
- if (lineRectClip(&exts, &segPtr->p, &segPtr->q)) {
+ if (LineRectClip(&exts, &segPtr->p, &segPtr->q)) {
segPtr++;
*indexPtr++ = i;
}
@@ -1863,7 +1863,7 @@ void LineElement::mapErrorBars(LineStyle **styleMap)
segPtr->p.y = segPtr->q.y = p.y;
segPtr->p.x = p.x - stylePtr->errorBarCapWidth;
segPtr->q.x = p.x + stylePtr->errorBarCapWidth;
- if (lineRectClip(&exts, &segPtr->p, &segPtr->q)) {
+ if (LineRectClip(&exts, &segPtr->p, &segPtr->q)) {
segPtr++;
*indexPtr++ = i;
}
@@ -1871,7 +1871,7 @@ void LineElement::mapErrorBars(LineStyle **styleMap)
segPtr->p.y = segPtr->q.y = q.y;
segPtr->p.x = q.x - stylePtr->errorBarCapWidth;
segPtr->q.x = q.x + stylePtr->errorBarCapWidth;
- if (lineRectClip(&exts, &segPtr->p, &segPtr->q)) {
+ if (LineRectClip(&exts, &segPtr->p, &segPtr->q)) {
segPtr++;
*indexPtr++ = i;
}