PLaSK library

Loading...
Searching...
No Matches
Public Member Functions | List of all members
plask::GeometryObjectD< dim >::LineSegment Struct Reference

Line segment represented by two unordered points. More...

`#include <plask/geometry/object.hpp>`

## Public Member Functions
| LineSegment (const DVec &p0, const DVec &p1)
const DVec & | p0 () const
const DVec & | p1 () const
const DVec & | operator[] (std::size_t i) const
bool | operator< (const LineSegment &c) const

## Detailed Description

template<int dim>
struct plask::GeometryObjectD< dim >::LineSegment

Line segment represented by two unordered points.

Definition at line 1155 of file object.hpp.

## Constructor & Destructor Documentation

## ◆ LineSegment()

template<int dim>

plask::GeometryObjectD< dim >::LineSegment::LineSegment | ( | const DVec & | p0,
|  | const DVec & | p1
| ) |  |
| inline

Definition at line 1160 of file object.hpp.

## Member Function Documentation

## ◆ operator<()

template<int dim>

bool plask::GeometryObjectD< dim >::LineSegment::operator< | ( | const LineSegment & | c | ) | const
| inline

Definition at line 1169 of file object.hpp.

## ◆ operator[]()

template<int dim>

const DVec & plask::GeometryObjectD< dim >::LineSegment::operator[] | ( | std::size_t | i | ) | const
| inline

Definition at line 1167 of file object.hpp.

## ◆ p0()

template<int dim>

const DVec & plask::GeometryObjectD< dim >::LineSegment::p0 | ( |  | ) | const
| inline

Definition at line 1165 of file object.hpp.

## ◆ p1()

template<int dim>

const DVec & plask::GeometryObjectD< dim >::LineSegment::p1 | ( |  | ) | const
| inline

Definition at line 1166 of file object.hpp.

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

- plask/geometry/object.hpp