IMP  2.4.0
The Integrative Modeling Platform
Namespaces
algebra/io.h File Reference

Classes to write entities in algebra to files. More...

#include "Vector3D.h"
#include "Sphere3D.h"
#include <IMP/base/file.h>
+ Include dependency graph for algebra/io.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 IMP
 Synonym for IMP::kernel.
 
 IMP::algebra
 General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP modules.
 

Simple geometric IO

These functions write geometry to text files, one line per geometric primitive. Each line has the form “x y z” for points or “x y z r” for spheres. We can easily add general dimension support if requested.. Lines beginning with "#" are treated as comments.

void IMP::algebra::write_pts (const Vector3Ds &vs, base::TextOutput out)
 Write a set of 3D vectors to a file. More...
 
Vector3Ds IMP::algebra::read_pts (base::TextInput input)
 Read a set of 3D vectors from a file. More...
 
void IMP::algebra::write_spheres (const Sphere3Ds &vs, base::TextOutput out)
 Write a set of 3d spheres to a file. More...
 
Sphere3Ds IMP::algebra::read_spheres (base::TextInput input)
 Read a set of 3d spheres from a file. More...
 

Detailed Description

Classes to write entities in algebra to files.

Copyright 2007-2015 IMP Inventors. All rights reserved.

Definition in file algebra/io.h.