#include <geometry.h>
Public Member Functions | |
double | Dist (const CLine &cl) const |
double | Dist (const Point &p) const |
double | DistSq (const Point &p) const |
void | get (double xyz[2]) |
Point | Mid (const Point &p, double factor=.5) const |
bool | operator!= (const Point &p) const |
Point | operator+ (const Point &p) const |
Point | operator+ (const Vector2d &v) const |
Point | operator+= (const Point &p) |
bool | operator== (const Point &p) const |
Point () | |
Point (const Point3d &p) | |
Point (const Vector2d &v) | |
Point (double xord, double yord, bool okay=true) | |
Point | Transform (const Matrix &m) |
Public Attributes | |
bool | ok |
double | x |
double | y |
Friends | |
wostream & | operator<< (wostream &op, Point &p) |
geoff_geometry::Point::Point | ( | ) |
References ok.
Referenced by operator+(), and operator+=().
double Point::Dist | ( | const CLine & | cl | ) | const |
References geoff_geometry::CLine::p, and geoff_geometry::CLine::v.
double Point::Dist | ( | const Point & | p | ) | const |
References geoff_geometry::Vector2d::magnitude().
Referenced by geoff_geometry::Kurve::Add(), geoff_geometry::Dist(), geoff_geometry::eliminateLoops(), geoff_geometry::Span::Near(), geoff_geometry::Kurve::Near(), geoff_geometry::Span::NearOn(), geoff_geometry::Kurve::OffsetMethod1(), geoff_geometry::On(), geoff_geometry::Span::SetProperties(), geoff_geometry::tangential_arc(), and geoff_geometry::Thro().
double Point::DistSq | ( | const Point & | p | ) | const |
References geoff_geometry::Vector2d::magnitudesqd().
void geoff_geometry::Point::get | ( | double | xyz[2] | ) |
Referenced by draftguitools.gui_trackers.editTracker::move().
References geoff_geometry::Mid().
Referenced by geoff_geometry::Span::Near(), and geoff_geometry::Thro().
References geoff_geometry::FNE(), and geoff_geometry::TOLERANCE.
|
friend |
bool geoff_geometry::Point::ok |
double geoff_geometry::Point::x |
Referenced by geoff_geometry::SpanVertex::Add(), Mod.PartDesign.Scripts.FilletArc.Vector::add(), geoff_geometry::Kurve::Area(), geoff_geometry::Box::Box(), DraftGui.DraftToolBar::changeXValue(), importSVG.svgHandler::characters(), PathScripts.PathInspect.GCodeEditorDialog::cleanup(), geoff_geometry::Box::combine(), Mod.PartDesign.Scripts.FilletArc.Vector::cross(), geoff_geometry::Dist(), PathScripts.PostUtils.GCodeEditorDialog::done(), Mod.PartDesign.Scripts.FilletArc.Vector::dot(), geoff_geometry::Kurve::FullCircle(), get(), geoff_geometry::Kurve::Get(), Span::Intersect(), Mod.PartDesign.Scripts.FilletArc.Vector::length(), geoff_geometry::MinMax(), geoff_geometry::Span::minmax(), Mod.PartDesign.Scripts.FilletArc.Vector::mult(), Mod.PartDesign.Scripts.FilletArc.Vector::norm(), geoff_geometry::Span::Offset(), geoff_geometry::CLine::operator=(), PathScripts.PathDressupHoldingTags.Tag::originAt(), geoff_geometry::Box::outside(), DraftGui.DraftToolBar::pointUi(), DraftGui.DraftToolBar::reset_ui_values(), geoff_geometry::Span::SplitMatrix(), Mod.PartDesign.Scripts.FilletArc.Vector::sub(), Transform(), geoff_geometry::CLine::Transform(), DraftGui.DraftToolBar::update_cartesian_coords(), DraftGui.DraftToolBar::update_spherical_coords(), DraftGui.DraftToolBar::updateSnapper(), DraftGui.DraftToolBar::validatePoint(), geoff_geometry::Vector2d::Vector2d(), and automotive_design.right_angular_wedge::wr1().
double geoff_geometry::Point::y |
Referenced by geoff_geometry::SpanVertex::Add(), Mod.PartDesign.Scripts.FilletArc.Vector::add(), geoff_geometry::Kurve::Area(), geoff_geometry::Box::Box(), DraftGui.DraftToolBar::changeYValue(), importSVG.svgHandler::characters(), PathScripts.PathInspect.GCodeEditorDialog::cleanup(), geoff_geometry::Box::combine(), Mod.PartDesign.Scripts.FilletArc.Vector::cross(), geoff_geometry::Dist(), PathScripts.PostUtils.GCodeEditorDialog::done(), Mod.PartDesign.Scripts.FilletArc.Vector::dot(), get(), geoff_geometry::Kurve::Get(), Span::Intersect(), Mod.PartDesign.Scripts.FilletArc.Vector::length(), geoff_geometry::MinMax(), geoff_geometry::Span::minmax(), Mod.PartDesign.Scripts.FilletArc.Vector::mult(), Mod.PartDesign.Scripts.FilletArc.Vector::norm(), geoff_geometry::Span::Offset(), geoff_geometry::CLine::operator=(), PathScripts.PathDressupHoldingTags.Tag::originAt(), geoff_geometry::Box::outside(), DraftGui.DraftToolBar::pointUi(), DraftGui.DraftToolBar::reset_ui_values(), geoff_geometry::Span::SplitMatrix(), Mod.PartDesign.Scripts.FilletArc.Vector::sub(), geoff_geometry::CLine::Transform(), DraftGui.DraftToolBar::update_cartesian_coords(), DraftGui.DraftToolBar::update_spherical_coords(), DraftGui.DraftToolBar::updateSnapper(), DraftGui.DraftToolBar::validatePoint(), and geoff_geometry::Vector2d::Vector2d().