geoff_geometry::CLine Class Reference

#include <geometry.h>

Public Member Functions

CLine Bisector (const CLine &s)
 
double c ()
 
 CLine ()
 
 CLine (const Point &p0, const Point &p1)
 
 CLine (const Point &p0, const Vector2d &v0, bool normalise=true)
 
 CLine (const Point &p0, double dx, double dy, bool normalise=true)
 
 CLine (const Span &sp)
 
double Dist (const Point &p1) const
 
Point Intof (const CLine &s)
 
Point Intof (int NF, const Circle &c)
 
Point Intof (int NF, const Circle &c, Point &otherInters)
 
void Normalise ()
 
const CLineoperator= (const Point &p0)
 
const CLine operator~ (void)
 
CLine Transform (Matrix &m)
 

Public Attributes

bool ok
 
Point p
 
Vector2d v
 

Friends

wostream & operator<< (wostream &op, CLine &cl)
 

Constructor & Destructor Documentation

◆ CLine() [1/5]

geoff_geometry::CLine::CLine ( )

References ok.

Referenced by Bisector(), operator~(), and Transform().

◆ CLine() [2/5]

geoff_geometry::CLine::CLine ( const Point p0,
double  dx,
double  dy,
bool  normalise = true 
)

References Normalise().

◆ CLine() [3/5]

geoff_geometry::CLine::CLine ( const Point p0,
const Vector2d v0,
bool  normalise = true 
)

References Normalise().

◆ CLine() [4/5]

geoff_geometry::CLine::CLine ( const Point p0,
const Point p1 
)

References Normalise().

◆ CLine() [5/5]

Member Function Documentation

◆ Bisector()

CLine geoff_geometry::CLine::Bisector ( const CLine s)

References CLine(), and Intof().

◆ c()

double geoff_geometry::CLine::c ( )

Referenced by geoff_geometry::Tanto().

◆ Dist()

double geoff_geometry::CLine::Dist ( const Point p1) const

◆ Intof() [1/3]

Point geoff_geometry::CLine::Intof ( const CLine s)

◆ Intof() [2/3]

Point geoff_geometry::CLine::Intof ( int  NF,
const Circle c 
)

◆ Intof() [3/3]

Point geoff_geometry::CLine::Intof ( int  NF,
const Circle c,
Point otherInters 
)

◆ Normalise()

void geoff_geometry::CLine::Normalise ( )

References ok, and geoff_geometry::TOLERANCE.

Referenced by CLine().

◆ operator=()

const CLine & geoff_geometry::CLine::operator= ( const Point p0)

◆ operator~()

const CLine geoff_geometry::CLine::operator~ ( void  )

References CLine().

◆ Transform()

CLine geoff_geometry::CLine::Transform ( Matrix m)

Friends And Related Function Documentation

◆ operator<<

wostream & operator<< ( wostream &  op,
CLine cl 
)
friend

Member Data Documentation

◆ ok

◆ p

◆ v


The documentation for this class was generated from the following files: