Workspace 6.21.5
Public Member Functions | List of all members
Line Class Reference

A geometric line; a point and a direction.

#include <Mesh/Geometry/line.h>

Public Member Functions

 Line ()=default
 
 Line (const Mesh::Vector3d &p, const Mesh::Vector3d &v)
 
const Mesh::Vector3dgetPoint () const
 
const Mesh::Vector3dgetVector () const
 
void setPoint (const Vector3d &p)
 
void setVector (const Vector3d &v)
 

Constructor & Destructor Documentation

◆ Line() [1/2]

Line ( )
default

◆ Line() [2/2]

Line ( const Mesh::Vector3d p,
const Mesh::Vector3d v 
)
inline
Parameters
pA point on the line.
vThe direction of the line.

Member Function Documentation

◆ getPoint()

const Mesh::Vector3d & getPoint ( ) const
inline

◆ getVector()

const Mesh::Vector3d & getVector ( ) const
inline

◆ setPoint()

void setPoint ( const Vector3d p)
inline

◆ setVector()

void setVector ( const Vector3d v)
inline