| Object: 3d-approximated (The :surf Package) |
| Mixins: approximated-curve, vanilla-mixin |
| Input Slots (required) | |
| surface gdl surface object | |
The surface corresponding to the given uv-curve. | |
| uv-curve gdl curve object | |
Curve whose points are understood to be 2D u, v parameter values on the surface. | |
| Input Slots (optional) | |
| built-from [from curve] gdl curve | |
Specify this if you want this curve to be a clone of an existing curve. (note - this uses a shared underlying curve object, it does not make a copy) | |
| color-decimal [from geometry-kernel-object-mixin] vector of three real numbers | |
The RGB color of this object as imported from an external format (e.g. IGES) or as specified in :display-controls. Defaults to the foreground color specified in *colors-default*. This message should not normally be overridden in user application code. | |
| hidden? [from vanilla-mixin*] boolean | |
Indicates whether the object should effectively be a hidden-object even if specified in :objects. Default is nil. | |
| iges-level [from geometry-kernel-object-mixin] integer | |
Synonym for the layer. | |
| image-file [from base-object] pathname or string | |
Points to a pre-existing image file to be displayed instead of actual geometry for this object. Defaults to nil | |
| layer [from geometry-kernel-object-mixin] integer | |
The primary IGES-compatible level (layer) on which this object resides. Defaults to the first of the levels. This slot can be overridden in user code to specify a new layer which will be written out when this object is exported with the IGES output-format. | |
| levels [from geometry-kernel-object-mixin] list of integers | |
The IGES-compatible levels (layers) on which this object resides. GDL does not currently support writing out multiple levels (layers) through the IGES writer ; only the first of these will be output if the object is exported with the IGES output-format (please contact Genworks if you need all levels (layers) to be written out). | |
| local-box [from base-object] list of two 3d points | |
The left front bottom and right rear top corners, in global coordinates, of the rectangular volume bounding this geometric object. | |
| match-parameterization? [from approximated-curve] boolean | |
Indicates whether the new-curve should contain matching parameterization between breakpoints. If nil, the parameterization can slip a little, but not very much. Allowing the parameterization between breakpoints to slip results in somewhat fewer control points. Use non-nil only if a parameter-to-parameter match is important to your application. The default is nil. | |
| number-of-samples integer | |
How many point samples to take for fitting purposes. Default is 42. | |
| obliqueness [from base-object] 3x3 orthonormal matrix of double-float numbers | |
This is synonymous with the orientation. | |
| onclick-function [from base-object] lambda function of zero arguments, or nil | |
If non-nil, this function gets invoked when the user clicks the object in graphics front-ends which may or may not support this functionality (see viewport-html-div). | |
| pinned-parameters [from approximated-curve] list of numbers | |
These are parameter values from the original curve where the approximated curve will be forced to be identical to the original curve. Defaults to nil. | |
| root [from vanilla-mixin*] gdl instance | |
The root-level node in this object's ``tree'' (instance hierarchy). | |
| safe-children [from vanilla-mixin*] list of gdl instances | |
All objects from the :objects specification, including elements of sequences as flat lists. Any children which throw errors come back as a plist with error information | |
| strings-for-display [from vanilla-mixin*] string or list of strings | |
Determines how the name of objects of this type will be printed in most places. This defaults to the name-for-display (generally the part's name as specified in its parent), followed by an index number if the part is an element of a sequence. | |
| tolerance-factor number | |
The tolerance for the final approximation, to be multiplied by the 3d curve length. Default is 10e-5. | |
| visible-children [from vanilla-mixin*] list of gdl instances | |
Additional objects to display in Tatu tree. Typically this would be a subset of hidden-children. Defaults to NIL. | |
| Input Slots (optional, defaulting) | |
| center [from base-object] 3d point | |
Indicates in global coordinates where the center of the reference box of this object should be located. | |
| display-controls [from base-object] plist | |
May contain keywords and values indicating display characteristics for this object. The following keywords are recognized currently:
| |
| height [from base-object] number | |
Z-axis dimension of the reference box. Defaults to zero. | |
| length [from base-object] number | |
Y-axis dimension of the reference box. Defaults to zero. | |
| orientation [from base-object] 3x3 matrix of double-float numbers | |
Indicates the absolute Rotation Matrix used to create the coordinate system of this object. This matrix is given in absolute terms (i.e. with respect to the root's orientation), and is generally created with the alignment function. It should be an orthonormal matrix, meaning each row is a vector with a magnitude of one (1.0). | |
| width [from base-object] number | |
X-axis dimension of the reference box. Defaults to zero. | |
| Computed Slots | |
| curve-in [from approximated-curve] gdl curve object | |
The curve to be approximated with this curve. | |
| tolerance [from approximated-curve] number | |
The maximum distance deviation from the curve-in to this curve. Defaults to 1.0e-5 times the diagonal of the bounding box of the input curve. | |