IMP  2.1.1
The Integrative Modeling Platform
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
 All IMP::kernel code is brought into the IMP namespace.
 
 IMP::algebra
 See IMP.algebra for more information.
 

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

Copyright 2007-2013 IMP Inventors. All rights reserved.

Definition in file algebra/io.h.