Bsoft 2.1.4
Bernard's software package
model_poly_delta.cpp File Reference

Functions to generate deltagraph polyhedra. More...

#include "rwmodel.h"
#include "model_poly.h"
#include "model_links.h"
#include "model_util.h"
#include "utilities.h"

Functions

Bmodelmodel_delta_create_tube_old (int radius, int height)
 Generates a new tubular deltagraph. More...
 
Bmodelmodel_delta_create_tube (int h, int k, int height)
 Generates a new tubular deltagraph. More...
 
Bmodelmodel_delta_create_cylinder (int type, int radius, int height)
 Generates a new deltagraph based on the type. More...
 

Variables

int verbose
 

Detailed Description

Functions to generate deltagraph polyhedra.

Author
Bernard Heymann
Date
Created: 20080103
Modified: 20180327

Function Documentation

◆ model_delta_create_cylinder()

Bmodel * model_delta_create_cylinder ( int  type,
int  radius,
int  height 
)

Generates a new deltagraph based on the type.

Parameters
typetype of cylinder.
radiusradius in integer units.
heightheight in integer units.
Returns
Bmodel* new model.
Types supported:
    1   5-fold ends.
    2   6-fold ends.
    4   starting cap.
    8   ending cap.

◆ model_delta_create_tube()

Bmodel * model_delta_create_tube ( int  h,
int  k,
int  height 
)

Generates a new tubular deltagraph.

Parameters
hfirst lattice parameter, must be 1+.
ksecond lattice parameter, must be 0+.
heightheight in integer units.
Returns
Bmodel* new model.
The lattice parameters determine the radius.

◆ model_delta_create_tube_old()

Bmodel * model_delta_create_tube_old ( int  radius,
int  height 
)

Generates a new tubular deltagraph.

Parameters
radiusradius in integer units.
heightheight in integer units.
Returns
Bmodel* new model.

Variable Documentation

◆ verbose

int verbose
extern