Package Basic.NURBS

Class NurbsTrimmedSurfaceExample

java.lang.Object
Basic.NURBS.NurbsTrimmedSurfaceExample

public class NurbsTrimmedSurfaceExample extends Object

This scene contains a single NurbsTrimmedSurface rendering one-quarter of a cylindrical segment; with a triangular notch cut from one edge. The "solid" field of the surface is set false so surface is visible from both sides. Surface has semi-transparent material appearance. Scene also contains unit-length line segments defining x-y-z coordinate axes. Defined Viewpoints show the inner and outer sides of the cylindrical surface.

Related links: NurbsTrimmedSurfaceExample.java source, NurbsTrimmedSurfaceExample catalog page, X3D Resources, X3D Scene Authoring Hints, and X3D Tooltips.

Scene Meta Information
meta tags   Document Metadata
title NurbsTrimmedSurfaceExample.x3d
description This scene contains a single NurbsTrimmedSurface rendering one-quarter of a cylindrical segment; with a triangular notch cut from one edge. The "solid" field of the surface is set false so surface is visible from both sides. Surface has semi-transparent material appearance. Scene also contains unit-length line segments defining x-y-z coordinate axes. Defined Viewpoints show the inner and outer sides of the cylindrical surface
Image NurbsTrimmedSurface.jpg
creator Vincent Marchetti
created 10 February 2012
modified 17 June 2020
Image images/NurbsTrimmedSurfaceInstantReality.png
Image images/NurbsTrimmedSurfaceXj3D.png
reference http://www.kshell.com/pages/nurbs_surface_demo
identifier https://www.web3d.org/x3d/content/examples/Basic/NURBS/NurbsTrimmedSurfaceExample.x3d
generator Python language scripting
generator X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit
license ../license.html
 

This program uses the X3D Java Scene Access Interface Library (X3DJSAIL). It has been produced using the X3dToJava.xslt stylesheet to create Java source code from an .x3d model.

  • Constructor Details

    • NurbsTrimmedSurfaceExample

      public NurbsTrimmedSurfaceExample()
      Default constructor to create this object.
  • Method Details

    • initialize

      public final void initialize()
      Create and initialize the X3D model for this object.
    • getX3dModel

      public org.web3d.x3d.jsail.Core.X3D getX3dModel()
      Provide a shallow copy of the X3D model.
      Returns:
      NurbsTrimmedSurfaceExample model
      See Also:
      X3D
    • main

      public static void main(String[] args)
      Default main() method provided for test purposes, uses CommandLine to set global ConfigurationProperties for this object.
      Parameters:
      args - array of input parameters, provided as arguments
      See Also:
      X3D.handleArguments(args), X3D.validationReport(), CommandLine, CommandLine.USAGE, ConfigurationProperties