Bravaislattice

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Auxiliary function
Introduced first in SolidGeometry 4.8, Creation date: 2019-12-21, Last change: 2025-09-14

returns a vertex list for a Bravais lattice

Description

Lattice for a Bravais equation v=n1*a1 + n2*a2 + n3*a3
..More complicated function and slower than expected.. for this definition type of lattices

See Also: , meshgridofBB , vectorinBB

Example Illustration

 missing image of Bravaislattice(A,SG)

Syntax

VL=Bravaislattice([A,SG])

Input Parameter

A: [a1 ;a2 ;a3] three row vectors for the Bravais equation
SG: Solid Geometry or Bounding Box to be filled by the lattice

Output Parameter

VL: Vertex list of the lattice

Examples


Bravaislattice([1 0 0; .5 .2 0; 0 .5 1]);
Bravaislattice([1 0 0; .5 .2 0; 0 .5 .2],SGsphere([3 2 .1]));
Bravaislattice([1 0 0; .5 .2 0; 0 .5 .2],SGsphere([3 2 1]));
Bravaislattice([1 0 0; .5 .5 0; 0 0 0]);
Bravaislattice([1 0 0; .5 .2 0; 0 0 0]);
Bravaislattice([1 0 0; .5 .2 0; 0 .5 .2],SGsphere(2));
Bravaislattice([1 0 0; .5 .2 0; 0 .5 .2],SGbox([3 2 .1]));
Bravaislattice([1 0 0; .1 .1 .5; 0 0 1],SGtransP(SGbox([30,20,10]),[10 10 10]));




Copyright 2019-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Last html export of this page out of FM database by TL: 2025-09-21