Class LineSet

java.lang.Object
All Implemented Interfaces:
X3DNode, LineSet, X3DGeometryNode

public class LineSet extends X3DConcreteNode implements LineSet
LineSet is a geometry node that can contain a Coordinate|CoordinateDouble node and optionally a Color|ColorRGBA node.

Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the org.web3d.x3d.jsail classes. X3D node tooltip: [X3DGeometryNode] LineSet is a geometry node that can contain a Coordinate|CoordinateDouble node and optionally a Color|ColorRGBA node. Hint: Polygonal chain <a href="https://en.wikipedia.org/wiki/Polygonal_chain" target="_blank">https://en.wikipedia.org/wiki/Polygonal_chain</a> Hint: either values in a contained Color node, or else Material emissiveColor in corresponding Appearance node, are used for rendering lines and points. Warning: lines are not lit, are not texture-mapped, and do not participate in collision detection. Warning: use a different color (or Material emissiveColor) than the Background color, otherwise geometry is invisible. Hint: adding LineProperties to the corresponding Appearance node can modify the rendering style of these lines. Hint: step-wise variation or linear interpolation of color values can be used as a good scientific visualization technique to map arbitrary function values to a color map. Hint: insert a Shape node before adding geometry or Appearance. Hint: for advanced extensibility, authors can substitute a type-matched ProtoInstance node (with correct containerField value) for contained node content. Hint: consider including Fog (with Fog color matching Background color) to provide further depth cueing for LineSet (LS). *


Package hint: This org.web3d.x3d.jsail concrete class is used for implementing a standalone X3D object as a Plain Old Java Object (POJO). If you are writing Java code for use inside an X3D Script node, compile separate code using only the org.web3d.x3d.sai package instead.
See Also: