Xj3D 2.0 VRML/X3D Code API

org.web3d.x3d.sai.geometry3d
Interface Extrusion

All Superinterfaces:
X3DGeometryNode, X3DNode

public interface Extrusion
extends X3DGeometryNode

Defines the requirements of an X3D Extrusion node

Version:
$Revision: 1.1 $
Author:
Rex Melton

Method Summary
 boolean getBeginCap()
          Return the beginCap boolean value.
 boolean getCcw()
          Return the ccw boolean value.
 boolean getConvex()
          Return the convex boolean value.
 float getCreaseAngle()
          Return the creaseAngle float value.
 void getCrossSection(float[] val)
          Return the crossSection value in the argument float[]
 boolean getEndCap()
          Return the endCap boolean value.
 int getNumCrossSection()
          Return the number of MFVec2f items in the crossSection field.
 int getNumOrientation()
          Return the number of MFRotation items in the orientation field.
 int getNumScale()
          Return the number of MFVec2f items in the scale field.
 int getNumSpine()
          Return the number of MFVec3f items in the spine field.
 void getOrientation(float[] val)
          Return the orientation value in the argument float[]
 void getScale(float[] val)
          Return the scale value in the argument float[]
 boolean getSolid()
          Return the solid boolean value.
 void getSpine(float[] val)
          Return the spine value in the argument float[]
 void setBeginCap(boolean val)
          Set the beginCap field.
 void setCcw(boolean val)
          Set the ccw field.
 void setConvex(boolean val)
          Set the convex field.
 void setCreaseAngle(float val)
          Set the creaseAngle field.
 void setCrossSection(float[] val)
          Set the crossSection field.
 void setEndCap(boolean val)
          Set the endCap field.
 void setOrientation(float[] val)
          Set the orientation field.
 void setScale(float[] val)
          Set the scale field.
 void setSolid(boolean val)
          Set the solid field.
 void setSpine(float[] val)
          Set the spine field.
 
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
 

Method Detail

getBeginCap

boolean getBeginCap()
Return the beginCap boolean value.

Returns:
The beginCap boolean value.

setBeginCap

void setBeginCap(boolean val)
Set the beginCap field.

Parameters:
val - The boolean to set.

getCcw

boolean getCcw()
Return the ccw boolean value.

Returns:
The ccw boolean value.

setCcw

void setCcw(boolean val)
Set the ccw field.

Parameters:
val - The boolean to set.

getConvex

boolean getConvex()
Return the convex boolean value.

Returns:
The convex boolean value.

setConvex

void setConvex(boolean val)
Set the convex field.

Parameters:
val - The boolean to set.

getCreaseAngle

float getCreaseAngle()
Return the creaseAngle float value.

Returns:
The creaseAngle float value.

setCreaseAngle

void setCreaseAngle(float val)
Set the creaseAngle field.

Parameters:
val - The float to set.

getNumCrossSection

int getNumCrossSection()
Return the number of MFVec2f items in the crossSection field.

Returns:
the number of MFVec2f items in the crossSection field.

getCrossSection

void getCrossSection(float[] val)
Return the crossSection value in the argument float[]

Parameters:
val - The float[] to initialize.

setCrossSection

void setCrossSection(float[] val)
Set the crossSection field.

Parameters:
val - The float[] to set.

getEndCap

boolean getEndCap()
Return the endCap boolean value.

Returns:
The endCap boolean value.

setEndCap

void setEndCap(boolean val)
Set the endCap field.

Parameters:
val - The boolean to set.

getNumOrientation

int getNumOrientation()
Return the number of MFRotation items in the orientation field.

Returns:
the number of MFRotation items in the orientation field.

getOrientation

void getOrientation(float[] val)
Return the orientation value in the argument float[]

Parameters:
val - The float[] to initialize.

setOrientation

void setOrientation(float[] val)
Set the orientation field.

Parameters:
val - The float[] to set.

getNumScale

int getNumScale()
Return the number of MFVec2f items in the scale field.

Returns:
the number of MFVec2f items in the scale field.

getScale

void getScale(float[] val)
Return the scale value in the argument float[]

Parameters:
val - The float[] to initialize.

setScale

void setScale(float[] val)
Set the scale field.

Parameters:
val - The float[] to set.

getSolid

boolean getSolid()
Return the solid boolean value.

Returns:
The solid boolean value.

setSolid

void setSolid(boolean val)
Set the solid field.

Parameters:
val - The boolean to set.

getNumSpine

int getNumSpine()
Return the number of MFVec3f items in the spine field.

Returns:
the number of MFVec3f items in the spine field.

getSpine

void getSpine(float[] val)
Return the spine value in the argument float[]

Parameters:
val - The float[] to initialize.

setSpine

void setSpine(float[] val)
Set the spine field.

Parameters:
val - The float[] to set.

Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium