Class TrimmedNurbsMesh
java.lang.Object
org.web3d.vrml.renderer.ogl.nodes.nurbs.mesh.TrimmedNurbsMesh
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected javax.vecmath.Point3f[]
protected int[]
protected javax.vecmath.Point2f[]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.vecmath.Point3f[]
Return the real (3D Euclidean space) coordinates of points.int
Return the number of points in tesselationjavax.vecmath.Point2f[]
Return the parametric (2D) coordinates of points.org.j3d.aviatrix3d.VertexGeometry
Returns aviatrix scene graph object
-
Field Details
-
euc_coords
protected javax.vecmath.Point3f[] euc_coords -
par_coords
protected javax.vecmath.Point2f[] par_coords -
indices
protected int[] indices
-
-
Constructor Details
-
TrimmedNurbsMesh
public TrimmedNurbsMesh(net.jgeom.nurbs.NurbsSurface surface)
-
-
Method Details
-
numPoints
public int numPoints()Description copied from interface:GeometryArray
Return the number of points in tesselation- Specified by:
numPoints
in interfaceGeometryArray
- Returns:
- size of real_coordinates and parametric_coordinate
-
euclidean_coordinates
public javax.vecmath.Point3f[] euclidean_coordinates()Description copied from interface:GeometryArray
Return the real (3D Euclidean space) coordinates of points. Design intent is that the returned value should not be modified by user- Specified by:
euclidean_coordinates
in interfaceGeometryArray
- Returns:
- array of coordinates
-
parametric_coordinates
public javax.vecmath.Point2f[] parametric_coordinates()Description copied from interface:GeometryArray
Return the parametric (2D) coordinates of points. Design intent is that the returned value should not be modified by user- Specified by:
parametric_coordinates
in interfaceGeometryArray
- Returns:
- array of parametric coordinates
-
sceneGraphObject
public org.j3d.aviatrix3d.VertexGeometry sceneGraphObject()Description copied from interface:AviatrixConnector
Returns aviatrix scene graph object- Specified by:
sceneGraphObject
in interfaceAviatrixConnector
- Returns:
- Returns aviatrix scene graph object
-