geoff_geometry::Point Class Reference

#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)
 

Constructor & Destructor Documentation

◆ Point() [1/4]

geoff_geometry::Point::Point ( )

Referenced by operator+().

◆ Point() [2/4]

geoff_geometry::Point::Point ( double  xord,
double  yord,
bool  okay = true 
)

◆ Point() [3/4]

Point::Point ( const Point3d p)

References ok.

◆ Point() [4/4]

Point::Point ( const Vector2d v)

References ok.

Member Function Documentation

◆ Dist() [1/2]

double Point::Dist ( const CLine cl) const

◆ Dist() [2/2]

◆ DistSq()

double Point::DistSq ( const Point p) const

◆ get()

void geoff_geometry::Point::get ( double  xyz[2])

◆ Mid()

Point Point::Mid ( const Point p,
double  factor = .5 
) const

◆ operator!=()

bool geoff_geometry::Point::operator!= ( const Point p) const

◆ operator+() [1/2]

Point geoff_geometry::Point::operator+ ( const Point p) const

◆ operator+() [2/2]

Point Point::operator+ ( const Vector2d v) const

References Point().

◆ operator+=()

Point geoff_geometry::Point::operator+= ( const Point p)

◆ operator==()

bool Point::operator== ( const Point p) const

◆ Transform()

Friends And Related Function Documentation

◆ operator<<

wostream& operator<< ( wostream &  op,
Point p 
)
friend

Member Data Documentation

◆ ok

◆ x

◆ y


The documentation for this class was generated from the following files:
  • src/Mod/Path/libarea/kurve/geometry.h
  • src/Mod/Path/libarea/kurve/Construction.cpp