Class BaseExtrusion

java.lang.Object
org.web3d.vrml.renderer.common.nodes.AbstractNode
org.web3d.vrml.renderer.common.nodes.geom3d.BaseExtrusion
All Implemented Interfaces:
VRMLNode, FrameStateListener, VRMLGeometryNodeType, VRMLNodeType
Direct Known Subclasses:
NRExtrusion, OGLExtrusion

public abstract class BaseExtrusion extends AbstractNode implements VRMLGeometryNodeType
Common base implementation of an Extrusion. An Extrusion node specifies geometric shapes based on a two-dimensional cross-section extruded along a three dimensional spine in the local coordinate system.

The cross-sections of an Extrusion can be scaled and rotated at each spine point to produce a wide variety of shapes. For each spine point, the cross-section shape is scaled by the vfScale parameter, translated by the spine parameter, and then oriented using the orientation parameter. Corresponding vertices of the first and second cross-sections are then connected, forming a quadrilateral polygon between each pair of vertices.

Version:
$Revision: 1.19 $
Author:
Andrzej Kapolka, additional commenting by Eric Fickenscher