clan::LineSegment3f Class Reference - ClanLib SDK
Description: clan::LineSegment3f Class Reference

Public Member Functions | List of all members
clan::LineSegment3f Class Reference
clanCore Math

3D line segment - Float More...

`#include <line_segment.h>`

Inheritance diagram for clan::LineSegment3f:

## Public Member Functions
| LineSegment3f ()
| LineSegment3f (const LineSegment3x< float > &copy)
| LineSegment3f (const Vec3< float > &point_p, const Vec3< float > &point_q)
Public Member Functions inherited from clan::LineSegment3x< float >
| LineSegment3x ()
| LineSegment3x (const LineSegment3x< float > &copy)
| LineSegment3x (const Vec3< float > &point_p, const Vec3< float > &point_q)
Vec3< float > | get_midpoint () const
| Get the midpoint of this line.
bool | operator!= (const LineSegment3x< float > &line) const
| != operator.
LineSegment3x< float > & | operator= (const LineSegment3x< float > &copy)
| = operator.
bool | operator== (const LineSegment3x< float > &line) const
| == operator.
float | point_distance (const Vec3< float > &point, Vec3< float > &dest_intercept) const
| Calculate the distance from a line segment to a point.

## Additional Inherited Members
Public Attributes inherited from clan::LineSegment3x< float >
Vec3< float > | p
| Start point on the line.
Vec3< float > | q

## Detailed Description

3D line segment - Float

A line segment has a start point and an end point

## Constructor & Destructor Documentation

## ◆ LineSegment3f() [1/3]

clan::LineSegment3f::LineSegment3f | ( |  | ) |
| inline

## ◆ LineSegment3f() [2/3]

clan::LineSegment3f::LineSegment3f | ( | const LineSegment3x< float > & | copy | ) |
| inline

## ◆ LineSegment3f() [3/3]

clan::LineSegment3f::LineSegment3f | ( | const Vec3< float > & | point_p,
|  | const Vec3< float > & | point_q )
| inline

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

- line_segment.h