DeSiGNAR
0.5a
Data Structures General Library
Main Page
Namespaces
Classes
Files
Class List
Class Index
Class Hierarchy
Class Members
Designar
Segment
List of all members
Designar::Segment Class Reference
#include <
segment.H
>
Inheritance diagram for Designar::Segment:
[
legend
]
Collaboration diagram for Designar::Segment:
[
legend
]
Additional Inherited Members
Public Types inherited from
Designar::GenSegment< Point2D >
using
PointType
=
Point2D
Public Member Functions inherited from
Designar::GenSegment< Point2D >
GenSegment
()
GenSegment
(const
Point2D
&sp, const
Point2D
&tp)
GenSegment
(const
Point2D
&sp,
Point2D
&&tp)
GenSegment
(
Point2D
&&sp, const
Point2D
&tp)
GenSegment
(
Point2D
&&sp,
Point2D
&&tp)
GenSegment
(const
GenSegment
&s)
GenSegment
(
GenSegment
&&s)
GenSegment
&
operator=
(const
GenSegment
&s)
GenSegment
&
operator=
(
GenSegment
&&s)
void
swap
(
GenSegment
&s)
const
Point2D
&
get_src_point
() const
const
Point2D
&
get_tgt_point
() const
void
set_src_point
(const
Point2D
&sp)
void
set_src_point
(
Point2D
&&sp)
void
set_tgt_point
(const
Point2D
&tp)
void
set_tgt_point
(
Point2D
&&tp)
real_t
length
() const
bool
is_to_left_from
(const
Point2D
&p) const
bool
is_to_left_on_from
(const
Point2D
&p) const
bool
is_to_right_from
(const
Point2D
&p) const
bool
is_to_right_on_from
(const
Point2D
&p) const
bool
is_collinear_with
(const
Point2D
&p) const
bool
contains_to
(const
Point2D
&p) const
bool
contains_to
(const
GenSegment
&s) const
bool
intersects_properly_with
(const
GenSegment
&s) const
bool
intersects_with
(const
GenSegment
&s) const
real_t
slope
() const
bool
is_parallel_with
(const
GenSegment
&s) const
bool
is_perpendicular_with
(const
GenSegment
&s) const
GenSegment
get_perpendicular
(const
Point2D
&p) const
double
counterclockwise_angle_with
(const
GenSegment
&s)
GenSegment
get_opposite
() const
Point2D
intersection_with
(const
GenSegment
&s) const
bool
is_null
() const
bool
operator!
() const
bool
operator==
(const
GenSegment
&s) const
bool
operator!=
(const
GenSegment
&s) const
The documentation for this class was generated from the following file:
include/
segment.H
Generated by
1.8.11