#include <geometry.h>
Public Member Functions | |
bool | atZ (double z, Point3d &p) const |
int | Intof (const Line &l, Point3d &intof) const |
Line () | |
Line (const Point3d &p0, const Point3d &p1) | |
Line (const Point3d &p0, const Vector3d &v0, bool boxed=true) | |
Line (const Span &sp) | |
void | minmax () |
Point3d | Near (const Point3d &p, double &t) const |
bool | Shortest (const Line &l2, Line &lshort, double &t1, double &t2) const |
Public Attributes | |
Box3d | box |
double | length |
bool | ok |
Point3d | p0 |
Vector3d | v |
geoff_geometry::Line::Line | ( | ) |
References ok.
Referenced by Shortest().
References minmax(), ok, p0, and geoff_geometry::TOLERANCE.
References minmax(), ok, p0, and geoff_geometry::TOLERANCE.
Line::Line | ( | const Span & | sp | ) |
References geoff_geometry::FEQZ(), p0, geoff_geometry::Point3d::x, and geoff_geometry::Point3d::z.
References geoff_geometry::Intof().
void Line::minmax | ( | ) |
References geoff_geometry::MinMax(), and p0.
Referenced by Line().
Referenced by geoff_geometry::IsPtsLine().
Box3d geoff_geometry::Line::box |
Referenced by geoff_geometry::Intof().
double geoff_geometry::Line::length |
Referenced by PathScripts.PathStock.StockFromBase::execute(), PathScripts.PathDressupDogbone.ObjectDressup::execute(), PathScripts.PathFeatureExtensions.Extension::getSubLink(), PathScripts.PathFeatureExtensions.Extension::getWire(), geoff_geometry::Intof(), geoff_geometry::Plane::Intof(), Near(), Mod.PartDesign.Scripts.FilletArc.Vector::norm(), and Shortest().
bool geoff_geometry::Line::ok |
Referenced by geoff_geometry::Plane::Intof(), geoff_geometry::IsPtsLine(), Line(), and Shortest().
Point3d geoff_geometry::Line::p0 |
Referenced by atZ(), geoff_geometry::Intof(), geoff_geometry::Plane::Intof(), Line(), minmax(), Near(), Shortest(), and geoff_geometry::tangential_arc().
Vector3d geoff_geometry::Line::v |
Referenced by WorkingPlane.Plane::alignToEdges(), WorkingPlane.Plane::alignToFace(), WorkingPlane.Plane::alignToPointAndAxis(), WorkingPlane.Plane::alignToPointAndAxis_SVG(), WorkingPlane.Plane::copy(), WorkingPlane.Plane::getClosestAxis(), WorkingPlane.Plane::getGlobalCoords(), WorkingPlane.Plane::getGlobalRot(), WorkingPlane.Plane::getLocalCoords(), WorkingPlane.Plane::getLocalRot(), draftguitools.gui_trackers.rectangleTracker::getNormal(), WorkingPlane.Plane::getParameters(), WorkingPlane.Plane::getPlacement(), WorkingPlane.Plane::getRotation(), draftguitools.gui_trackers.rectangleTracker::getSize(), geoff_geometry::Intof(), geoff_geometry::Plane::Intof(), WorkingPlane.Plane::isGlobal(), WorkingPlane.Plane::isOrtho(), Near(), WorkingPlane.Plane::restore(), WorkingPlane.Plane::save(), WorkingPlane.Plane::setFromParameters(), WorkingPlane.Plane::setFromPlacement(), draftguitools.gui_trackers.rectangleTracker::setPlane(), Shortest(), and draftguitools.gui_trackers.rectangleTracker::update().