pixled-lib  1.0
Public Member Functions | Public Attributes | List of all members
pixled::line Struct Reference

#include <geometry.h>

Public Member Functions

 line (coordinate a, coordinate b, coordinate c)
 
 line (point p, angle a)
 
 line (point p0, point p1)
 

Public Attributes

coordinate a
 
coordinate b
 
coordinate c
 

Detailed Description

A Line with equation a*x + b*y + c = 0

Constructor & Destructor Documentation

◆ line() [1/3]

pixled::line::line ( coordinate  a,
coordinate  b,
coordinate  c 
)
inline

line constructor.

Parameters
aa
bb
cc

◆ line() [2/3]

pixled::line::line ( point  p,
angle  a 
)

Builds a line passing through p with the specified angle from the horizontal.

◆ line() [3/3]

pixled::line::line ( point  p0,
point  p1 
)

Builds a line passing through the two specified points.

Member Data Documentation

◆ a

coordinate pixled::line::a

a

◆ b

coordinate pixled::line::b

b

◆ c

coordinate pixled::line::c

c


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