|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
LESM.Draw
public abstract class Draw
Abstract super-class that generically specifies a drawing object for plotting graphical entities in the Graphical User Interface (GUI) of the LESM program
| Field Summary | |
|---|---|
(package private) double |
az
Azimuth of camera viewpoint |
(package private) Drv |
drv
Handle to an object of the Drv class |
(package private) double |
elev
Elevation of camera viewpoint |
(package private) double |
size
Drawing size parameter |
| Method Summary | |
|---|---|
static void |
arrow2D(double x,
double y,
double l,
double h,
double B,
double ang,
double[] c)
Plots a 2D arrow with defined beggining coordinates, length, arrowhead height, arrowhead base, orientation, and color |
static void |
arrow3D(double x,
double y,
double z,
double l,
double h,
double B,
char dir,
double[] c)
Plots a 3D arrow with defined beggining coordinates, length, arrowhead height, arrowhead base, orientation, and color |
abstract void |
axialForce(double scale)
Draws resulting axial force diagram on a given scale |
abstract void |
axialScaleFactor()
Computes axial force diagram scale factor value |
abstract void |
bendingMoment_XY(double scale)
Draws resulting bending moment diagram in XY plane on a given scale |
abstract void |
bendingMoment_XZ(double scale)
Draws resulting bending moment diagram in XZ plane on a given scale |
abstract void |
bendingMomentScaleFactor_XY()
Computes bending moment diagram scale factor value in XY plane |
abstract void |
bendingMomentScaleFactor_XZ()
Computes bending moment diagram scale factor value in XZ plane |
static void |
circle(double x,
double y,
double r,
double[] c)
Plots a circle with defined center coordinates, radius and color |
void |
clean()
Destructor method |
static double[] |
coordTransform2D(double xi,
double yi,
double dx,
double dy,
double ang)
Transforms coordinate components from an original 2D axis system to a new 2D axis system subjected to a translation and rotation |
double[] |
coordTransform3D(double x,
double y,
double z,
double dx,
double dy,
double dz,
int e)
Transforms coordinate components from an original 3D axis system to a new 3D axis system subjected to a translation and rotation |
static void |
cube(double x,
double y,
double z,
double S,
double[] c)
Plots a cube with defined center coordinates, side length and color |
abstract void |
deformConfig(double scale)
Draws structure deformed configuration on a given scale |
abstract void |
deformScaleFactor()
Computes deformed configuration scale factor |
Draw |
Draw()
Constructor method |
abstract void |
elementID()
Plots ID number of elements |
abstract void |
elementOrientation()
Draws element orientation indication from inital to final node |
abstract void |
elements()
Draws elements with hinged or continuous ends |
abstract void |
elemLoads()
Draws element distributed loads (uniform and linear) |
abstract void |
elemLoadsScaleFactor()
Computes element loads scale factor |
abstract void |
model()
Draws structure model with nodes, elements, supports and hinges |
static void |
moment2D(double x,
double y,
double r,
char dir,
double[] c)
Plots an out-of-plane moment symbol with defined center coordinates, radius, orientation, and color |
static void |
moment3D(double x,
double y,
double z,
double l,
double h,
double B,
char dir,
double c)
Plots a 3D moment symbol with defined beggining coordinates, length, arrowhead height, arrowhead base, orientation, and color |
abstract void |
nodalLoads()
Draws applied nodal loads and moments |
abstract void |
nodalPrescDispl()
Draws nodal prescribed displacement representation |
abstract void |
nodeID()
Plots ID number of nodes |
abstract void |
nodes()
Draws nodal marks with support conditions |
static void |
pyramid(double X,
double Y,
double Z,
double h,
double B,
char dir,
double[] c)
Plots a pyramid with defined apex coordinates, height, base, orientaion, and color |
abstract void |
reactions()
Draws reactions indication next to nodal supports |
abstract void |
setLimits()
Sets axes limits according to model dimensions |
void |
setSize()
Sets viewpoint position and computes drawing size parameter according to model dimensions |
abstract void |
shearForce_XY(double scale)
Draws resulting shear force diagram in XY plane on a given scale |
abstract void |
shearForce_XZ(double scale)
Draws resulting shear force diagram in XZ plane on a given scale |
abstract void |
shearScaleFactor_XY()
Computes shear force diagram scale factor value in XY plane |
abstract void |
shearScaleFactor_XZ()
Computes shear force diagram scale factor value in XZ plane |
static void |
spear3D(double x,
double y,
double z,
double l,
double h,
double B,
char dir,
double[] c,
int e)
Plots a 3D arrow in the direction of any element local axis. |
static void |
sphere(double x,
double y,
double z,
double r)
Plots a sphere with defined center coordinates and radius |
static void |
square(double x,
double y,
double S,
double[] c)
Plots a square with defined center coordinates, side length and color |
abstract void |
thermalLoads()
Draws thermal load representation on elements |
abstract void |
torsionMoment()
Draws resulting torsion moment diagram |
static void |
triangle(double x,
double y,
double h,
double B,
double ang,
double[] c)
Plots a triangle with defined top coordinates, height, base, orientation, and color |
| Field Detail |
|---|
Drv drv
double size
double az
double elev
| Method Detail |
|---|
public Draw Draw()
public static void circle(double x,
double y,
double r,
double[] c)
public static void sphere(double x,
double y,
double z,
double r)
public static void square(double x,
double y,
double S,
double[] c)
public static void cube(double x,
double y,
double z,
double S,
double[] c)
public static void triangle(double x,
double y,
double h,
double B,
double ang,
double[] c)
public static void pyramid(double X,
double Y,
double Z,
double h,
double B,
char dir,
double[] c)
public static void arrow2D(double x,
double y,
double l,
double h,
double B,
double ang,
double[] c)
public static void arrow3D(double x,
double y,
double z,
double l,
double h,
double B,
char dir,
double[] c)
public static void spear3D(double x,
double y,
double z,
double l,
double h,
double B,
char dir,
double[] c,
int e)
public static void moment2D(double x,
double y,
double r,
char dir,
double[] c)
public static void moment3D(double x,
double y,
double z,
double l,
double h,
double B,
char dir,
double c)
public abstract void setLimits()
public abstract void model()
public abstract void elements()
public abstract void nodes()
public abstract void elemLoadsScaleFactor()
public abstract void elemLoads()
public abstract void nodalLoads()
public abstract void nodalPrescDispl()
public abstract void thermalLoads()
public abstract void nodeID()
public abstract void elementID()
public abstract void elementOrientation()
public abstract void deformScaleFactor()
public abstract void deformConfig(double scale)
public abstract void axialScaleFactor()
public abstract void axialForce(double scale)
public abstract void torsionMoment()
public abstract void shearScaleFactor_XY()
public abstract void shearForce_XY(double scale)
public abstract void shearScaleFactor_XZ()
public abstract void shearForce_XZ(double scale)
public abstract void bendingMomentScaleFactor_XY()
public abstract void bendingMoment_XY(double scale)
public abstract void bendingMomentScaleFactor_XZ()
public abstract void bendingMoment_XZ(double scale)
public abstract void reactions()
public void setSize()
public static double[] coordTransform2D(double xi,
double yi,
double dx,
double dy,
double ang)
public double[] coordTransform3D(double x,
double y,
double z,
double dx,
double dy,
double dz,
int e)
public void clean()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||