IMP logo
IMP Reference Guide  develop.63b38c487d,2024/12/21
The Integrative Modeling Platform
Line3D.h File Reference

Simple implementation of lines in 3D. More...

#include <IMP/algebra/algebra_config.h>
#include "Vector3D.h"
#include "Segment3D.h"
#include "BoundingBoxD.h"
#include "algebra_macros.h"
#include "GeometricPrimitiveD.h"
#include <cereal/access.hpp>
+ Include dependency graph for Line3D.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  IMP::algebra::Line3D
 Simple implementation of lines in 3D. More...
 

Namespaces

 IMP
 Base functionality and abstract base classes for representation, scoring and sampling.
 
 IMP::algebra
 General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP modules.
 

Typedefs

typedef IMP::Vector< Line3D > IMP::algebra::Line3Ds
 

Functions

double IMP::algebra::get_angle (const Line3D &a, const Line3D &b)
 Get angle in radians between two lines around their closest points. More...
 
double IMP::algebra::get_distance (const Line3D &s, const Vector3D &p)
 Get closest distance between a line and a point. More...
 
double IMP::algebra::get_distance (const Line3D &a, const Line3D &b)
 Get the closest distance between two lines. More...
 
Vector3D IMP::algebra::get_projected (const Line3D &l, const Vector3D &p)
 Project a point onto the line. More...
 
algebra::Segment3D IMP::algebra::get_projected (const Line3D &l, const algebra::Segment3D &s)
 Project a segment onto a line. More...
 
algebra::Segment3D IMP::algebra::get_segment_connecting_first_to_second (const Line3D &a, const Line3D &b)
 Get shortest possible segment from the first line to the second. More...
 
void IMP::algebra::set_line_3d_geometry (Line3D &g, const Line3D &gi)
 

Detailed Description

Simple implementation of lines in 3D.

Copyright 2007-2022 IMP Inventors. All rights reserved.

Definition in file Line3D.h.