LineMesh

Model ElementThe LineMesh element connects a number of vertices in space with straight lines. It is similar to the Outline element except it does not require markers. You can pass coordinates to the LineMesh geometry.

Class Name

LineMesh

Attribute Summary

Name Property Modifiable by command? Designable?
rm Reference(Marker) NO Yes
lines Int()  
vertex Double([], count=0) Yes
color String()  

Usage

lm = LineMesh(rm=global_ref, 
    lines=2,
    vertex= ( -2.7755576E-17, 0, 0, -5E-2, -2.5E-1, 0,
              -2.7755576E-17, 0, 0, 5E-2, 2.5E-1, 0)
  )

Attributes

rm
Reference(Marker)
The reference marker in which the vertex coordinates are expressed.
lines
Int()
Specifies the number of line segments used to represents the LineMesh entity.
vertex
Double([], count=0)
Specifies the three coordinates for each of the vertex. Note that each line requires two vertices and each vertex requires three coordinates.
color
String()
The color of the graphic for H3D animation. Specified as RGB (Red : Green : Blue).

Comments

  1. See Properties for an explanation about what properties are, why they are used, and how you can extend these.