This is the documentation for Enlighten.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

class Enlighten::Line2D

A line in 2D defined by two points.

Variables

Name Description
Vertex2D m_A

First point.

Vertex2D m_B

Second point.

Functions

Name Description
Line2D()

Default constructor initialising the line to a point at (0,0).

Line2D(const Vertex2D &, const Vertex2D &)

Constructor defining two points on the line.


Enlighten::Line2D::Line2D


public: Line2D()


Default constructor initialising the line to a point at (0,0).


Enlighten::Line2D::Line2D


public: Line2D
(
    const Vertex2D & a,
    const Vertex2D & b
)


Constructor defining two points on the line.

  • No labels