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.intReturn the number of points in tesselationjavax.vecmath.Point2f[]Return the parametric (2D) coordinates of points.org.j3d.aviatrix3d.VertexGeometryReturns 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:GeometryArrayReturn the number of points in tesselation- Specified by:
numPointsin interfaceGeometryArray- Returns:
- size of real_coordinates and parametric_coordinate
-
euclidean_coordinates
public javax.vecmath.Point3f[] euclidean_coordinates()Description copied from interface:GeometryArrayReturn the real (3D Euclidean space) coordinates of points. Design intent is that the returned value should not be modified by user- Specified by:
euclidean_coordinatesin interfaceGeometryArray- Returns:
- array of coordinates
-
parametric_coordinates
public javax.vecmath.Point2f[] parametric_coordinates()Description copied from interface:GeometryArrayReturn the parametric (2D) coordinates of points. Design intent is that the returned value should not be modified by user- Specified by:
parametric_coordinatesin interfaceGeometryArray- Returns:
- array of parametric coordinates
-
sceneGraphObject
public org.j3d.aviatrix3d.VertexGeometry sceneGraphObject()Description copied from interface:AviatrixConnectorReturns aviatrix scene graph object- Specified by:
sceneGraphObjectin interfaceAviatrixConnector- Returns:
- Returns aviatrix scene graph object
-