IMP logo
IMP Reference Guide  2.22.0
The Integrative Modeling Platform
Segment3D.h File Reference

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

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

Go to the source code of this file.

Classes

class  IMP::algebra::Segment3D
 Simple implementation of segments 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< Segment3D > IMP::algebra::Segment3Ds
 

Functions

double IMP::algebra::get_distance (const Segment3D &s, const Vector3D &p)
 Get the distance between a segment and a point. More...
 
double IMP::algebra::get_distance (const Segment3D &a, const Segment3D &b)
 Get the distance between two segments. More...
 
double IMP::algebra::get_relative_projection_on_segment (const Segment3D &s, const algebra::Vector3D &p)
 Return the 'relative' projection of a point p onto the line that contains s. More...
 
void IMP::algebra::set_segment_3d_geometry (Segment3D &g, const Segment3D &gi)
 

Detailed Description

Simple implementation of segments in 3D.

Copyright 2007-2022 IMP Inventors. All rights reserved.

Definition in file Segment3D.h.