Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages

GeometryAngle Class Reference

GeometryMol subclass to measure and display the angle between three atoms. More...

#include <GeometryAngle.h>

Inheritance diagram for GeometryAngle:

List of all members.

Public Methods

GeometryAngle (int *, int *, const int *cell, MoleculeList *, CommandQueue *, Displayable *)
constructor: molecule id's, atom indices, molecule list. More...

virtual float calculate (void)
recalculate the angle and return it. More...

virtual void create_cmd_list ()
draw the geometry marker. More...

virtual void set_pick (void)
use the TCL variables. More...


Detailed Description

GeometryMol subclass to measure and display the angle between three atoms.

Definition at line 29 of file GeometryAngle.h.


Constructor & Destructor Documentation

GeometryAngle::GeometryAngle ( int * ,
int * ,
const int * cell,
)

constructor: molecule id's, atom indices, molecule list.

Definition at line 34 of file GeometryAngle.C.


Member Function Documentation

float GeometryAngle::calculate ( void ) [virtual]

recalculate the angle and return it.

Reimplemented from GeometryMol.

Definition at line 44 of file GeometryAngle.C.

References angle, GeometryMol::geomValue, GeometryMol::normal_atom_coord, and vec_sub.

void GeometryAngle::create_cmd_list ( ) [virtual]

draw the geometry marker.

Implements GeometryMol.

Definition at line 62 of file GeometryAngle.C.

References Displayable::cmdList, DASHEDLINE, GeometryMol::display_line, GeometryMol::display_string, GeometryMol::geomValue, midpoint, GeometryMol::my_color, DispCmdLineWidth::putdata, DispCmdLineType::putdata, DispCmdColorIndex::putdata, Displayable::reset_disp_list, GeometryMol::transformed_atom_coord, and GeometryMol::valuePos.

void GeometryAngle::set_pick ( void ) [virtual]

use the TCL variables.

Reimplemented from GeometryMol.

Definition at line 99 of file GeometryAngle.C.

References GeometryMol::comIndex, GeometryMol::geomValue, GeometryMol::objIndex, GeometryMol::set_pick_selection, and GeometryMol::set_pick_value.


The documentation for this class was generated from the following files:
Generated on Mon Nov 17 02:48:41 2025 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002

AltStyle によって変換されたページ (->オリジナル) /