| Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
LineData Class Reference#include <LineData.h>
Inheritance diagram for LineData:
![]() Detailed DescriptionA line shape, with two endpoints, a length, orientation, etc.Definition at line 23 of file LineData.h.
Constructor & Destructor Documentation
Member Function Documentation
Definition at line 56 of file LineData.h.
Updates norm parameters (rho and theta).
Definition at line 469 of file LineData.cc. Referenced by LineData::applyTransform(), LineData::LineData(), LineData::mergeWith(), LineData::projectToGround(), LineData::setEndPts(), TargetData::update_derived_properties(), and LineData::updateParams().
Centroid. (Virtual in BaseData.).
Implements BaseData. Definition at line 63 of file LineData.cc. Referenced by TargetData::getBackCentroid(), TargetData::getCentroid(), TargetData::getFrontCentroid(), LineData::isMatchFor(), and TargetData::update_derived_properties().
Reimplemented from BaseData. Definition at line 69 of file LineData.h. Referenced by TargetData::getBoundingBox(). Match lines based on their parameters. (Virtual in BaseData.).
Implements BaseData. Definition at line 74 of file LineData.cc. Referenced by PolygonData::isClosed(), TargetData::isMatchFor(), and PolygonData::tryClosePolygon().
Definition at line 83 of file LineData.cc.
Lines are admissible to the local map if they're long enough to not be noise.
Reimplemented from BaseData. Definition at line 176 of file LineData.cc. Update a line in the local map with info from a matching line in the ground space.
Implements BaseData. Definition at line 130 of file LineData.cc. Referenced by TargetData::updateParams().
Definition at line 1436 of file LineData.cc.
Print information about this shape. (Virtual in BaseData.).
Implements BaseData. Definition at line 184 of file LineData.cc. Referenced by PolygonData::tryClosePolygon().
Transformations. (Virtual in BaseData.). Apply a transformation to this shape. Implements BaseData. Definition at line 221 of file LineData.cc. Referenced by TargetData::applyTransform().
Project to ground.
Implements BaseData. Definition at line 227 of file LineData.cc. Referenced by TargetData::projectToGround().
Definition at line 208 of file LineData.cc.
Definition at line 361 of file LineData.cc. Referenced by LineData::scanHorizForEndPts(), LineData::scanVertForEndPts(), PolygonData::tryImportNewEndline(), and LineData::updateParams().
The first point of a line is the leftmost point if the line is horizontal, else the topmost point. With an optional Shape<LineData> argument, uses the current line's orientation to pick the appropriate point of the other line. Definition at line 115 of file LineData.h. Referenced by LineData::applyTransform(), LineData::bottomPt(), LineData::firstPt(), PolygonData::formsNewEndline(), TargetData::getBackLeftPt(), LineData::getCentroid(), TargetData::getFrontLeftPt(), LineData::getRendering(), LineData::intersectionWithLine(), LineData::intersectsLine(), LineData::isAdmissible(), LineData::isBetween(), MapBuilder::isLineVisible(), LineData::leftPt(), LineData::lineEquation_abc(), LineData::lineEquation_abc_xz(), LineData::lineEquation_mb(), LineData::printEnds(), LineData::printParams(), LineData::projectToGround(), LineData::render(), LineData::rightPt(), LineData::secondPt(), LineData::setDrawCoords(), LineData::topPt(), PolygonData::tryImportNewEndline(), and LineData::update_derived_properties().
The first point of a line is the leftmost point if the line is horizontal, else the topmost point. With an optional Shape<LineData> argument, uses the current line's orientation to pick the appropriate point of the other line. Definition at line 116 of file LineData.h. Referenced by LineData::applyTransform(), LineData::bottomPt(), LineData::firstPt(), PolygonData::formsNewEndline(), TargetData::getBackRightPt(), LineData::getCentroid(), TargetData::getFrontRightPt(), LineData::getRendering(), LineData::intersectionWithLine(), LineData::intersectsLine(), LineData::isAdmissible(), MapBuilder::isLineVisible(), LineData::leftPt(), LineData::lineEquation_abc(), LineData::lineEquation_abc_xz(), LineData::lineEquation_mb(), LineData::printEnds(), LineData::printParams(), LineData::projectToGround(), LineData::render(), LineData::rightPt(), LineData::secondPt(), LineData::setDrawCoords(), LineData::topPt(), PolygonData::tryImportNewEndline(), and LineData::update_derived_properties().
The first point of a line is the leftmost point if the line is horizontal, else the topmost point. With an optional Shape<LineData> argument, uses the current line's orientation to pick the appropriate point of the other line. Definition at line 117 of file LineData.h.
The first point of a line is the leftmost point if the line is horizontal, else the topmost point. With an optional Shape<LineData> argument, uses the current line's orientation to pick the appropriate point of the other line. Definition at line 118 of file LineData.h.
The first point of a line is the leftmost point if the line is horizontal, else the topmost point. With an optional Shape<LineData> argument, uses the current line's orientation to pick the appropriate point of the other line. Definition at line 237 of file LineData.cc. Referenced by LineData::bottomPtShape(), LineData::leftPtShape(), LineData::pointOnLine(), LineData::rightPtShape(), and LineData::topPtShape().
The first point of a line is the leftmost point if the line is horizontal, else the topmost point. With an optional Shape<LineData> argument, uses the current line's orientation to pick the appropriate point of the other line. Definition at line 238 of file LineData.cc. Referenced by LineData::pointOnLine().
The first point of a line is the leftmost point if the line is horizontal, else the topmost point. With an optional Shape<LineData> argument, uses the current line's orientation to pick the appropriate point of the other line. Definition at line 239 of file LineData.cc. Referenced by LineData::pointOnLine().
The first point of a line is the leftmost point if the line is horizontal, else the topmost point. With an optional Shape<LineData> argument, uses the current line's orientation to pick the appropriate point of the other line. Definition at line 240 of file LineData.cc. Referenced by LineData::pointOnLine().
The first point of a line is the leftmost point if the line is horizontal, else the topmost point. With an optional Shape<LineData> argument, uses the current line's orientation to pick the appropriate point of the other line. Definition at line 242 of file LineData.cc.
The first point of a line is the leftmost point if the line is horizontal, else the topmost point. With an optional Shape<LineData> argument, uses the current line's orientation to pick the appropriate point of the other line. Definition at line 250 of file LineData.cc.
The first point of a line is the leftmost point if the line is horizontal, else the topmost point. With an optional Shape<LineData> argument, uses the current line's orientation to pick the appropriate point of the other line. Definition at line 258 of file LineData.cc.
The first point of a line is the leftmost point if the line is horizontal, else the topmost point. With an optional Shape<LineData> argument, uses the current line's orientation to pick the appropriate point of the other line. Definition at line 266 of file LineData.cc.
The first point of a line is the leftmost point if the line is horizontal, else the topmost point. With an optional Shape<LineData> argument, uses the current line's orientation to pick the appropriate point of the other line. Definition at line 274 of file LineData.cc. Referenced by LineData::firstPtCoord(), LineData::firstPtShape(), and LineData::updateParams(). The first point of a line is the leftmost point if the line is horizontal, else the topmost point. With an optional Shape<LineData> argument, uses the current line's orientation to pick the appropriate point of the other line. Definition at line 285 of file LineData.cc.
The first point of a line is the leftmost point if the line is horizontal, else the topmost point. With an optional Shape<LineData> argument, uses the current line's orientation to pick the appropriate point of the other line. Definition at line 296 of file LineData.cc. Referenced by LineData::secondPtCoord(), LineData::secondPtShape(), and LineData::updateParams(). The first point of a line is the leftmost point if the line is horizontal, else the topmost point. With an optional Shape<LineData> argument, uses the current line's orientation to pick the appropriate point of the other line. Definition at line 307 of file LineData.cc.
The first point of a line is the leftmost point if the line is horizontal, else the topmost point. With an optional Shape<LineData> argument, uses the current line's orientation to pick the appropriate point of the other line. Definition at line 318 of file LineData.cc.
The first point of a line is the leftmost point if the line is horizontal, else the topmost point. With an optional Shape<LineData> argument, uses the current line's orientation to pick the appropriate point of the other line. Definition at line 326 of file LineData.cc.
The first point of a line is the leftmost point if the line is horizontal, else the topmost point. With an optional Shape<LineData> argument, uses the current line's orientation to pick the appropriate point of the other line. Definition at line 334 of file LineData.cc. Referenced by LineData::isOverlappedWith(), and LineData::updateParams().
The first point of a line is the leftmost point if the line is horizontal, else the topmost point. With an optional Shape<LineData> argument, uses the current line's orientation to pick the appropriate point of the other line. Definition at line 340 of file LineData.cc.
The first point of a line is the leftmost point if the line is horizontal, else the topmost point. With an optional Shape<LineData> argument, uses the current line's orientation to pick the appropriate point of the other line. Definition at line 346 of file LineData.cc. Referenced by LineData::isOverlappedWith(), and LineData::updateParams().
The first point of a line is the leftmost point if the line is horizontal, else the topmost point. With an optional Shape<LineData> argument, uses the current line's orientation to pick the appropriate point of the other line. Definition at line 352 of file LineData.cc.
Definition at line 146 of file LineData.h.
Definition at line 147 of file LineData.h.
Definition at line 148 of file LineData.h. Referenced by LineData::intersectionWithLine(), LineData::isBetween(), PolygonData::isInside(), LineData::isNotVertical(), and LineData::printParams().
Definition at line 149 of file LineData.h. Referenced by LineData::printParams(), and TargetData::update_derived_properties().
Determine parameters a, b, c satisfying the equation ax + by = c.
Definition at line 430 of file LineData.cc. Referenced by LineData::perpendicularDistanceFrom(), LineData::printParams(), SphereData::projectToGround(), and LineData::update_derived_properties().
Determine parameters a, b, c, d satisfying the equation ax + bz = c.
Definition at line 391 of file LineData.cc. Referenced by SphereData::projectToGround().
True if line orientation is far enough from vertical.
Definition at line 485 of file LineData.cc. Referenced by LineData::firstPt(), LineData::firstPtCoord(), LineData::secondPt(), and LineData::secondPtCoord(). True if line orientation is far enough from vertical.
Definition at line 102 of file LineData.cc. Referenced by LineData::isMatchFor().
Definition at line 511 of file LineData.cc.
Definition at line 514 of file LineData.cc.
Definition at line 517 of file LineData.cc.
Definition at line 520 of file LineData.cc.
Definition at line 553 of file LineData.cc.
Definition at line 180 of file LineData.h. Referenced by BlobData::findCorners(), LineData::intersectionWithLine(), LineData::isBetween(), and MapBuilder::isLineVisible(). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||