Surface Class

Nurbs surface entity.
Public Class Surface 
Inherits NurbsBase 
Implements IFace
This language is not supported or no code example is available.
public class Surface : NurbsBase
IFace
This language is not supported or no code example is available.
Name Description
Public property AutodeskProperties Gets or sets the Autodesk common properties. (inherited from Entity).
Public property BoxMax Gets the maximum 3D extent of the entity. (inherited from Entity).
Public property BoxMin Gets the minimum 3D extent of the entity. (inherited from Entity).
Public property BoxSize Gets the 3D extent of the entity. (inherited from Entity).
Public property Color Gets or sets the entity color. (inherited from Entity).
Public property ColorMethod Gets or sets the entity color source. (inherited from Entity).
Protected property Compiling Tells if the entity is being compiled. (inherited from Entity).
Public property ControlPoints Gets the surface control points array.
Public property ConvexHull The convex hull of the surface.
Public property DegreeU Gets surface degree in the U direction.
Public property DegreeV Gets surface degree in the V direction.
Public property Direction Gets surface normal direction.
Public property DomainU Gets surface domain in U parametric direction.
Public property DomainV Gets surface domain in V parametric direction.
Public property EntityData Gets or sets the entity custom data. If the type implements ICloneable it will be cloned when the Entity is cloned. (inherited from Entity).
Public property GroupIndex Gets or sets the entity group index. (inherited from Entity).
Public property IsClosedU Returns true if the surface is closed in the U direction.
Public property IsClosedV Returns true if the surface is closed in the V direction.
Public property IsRational Returns true if the surface is rational.
Public property IsTrimmed Returns true if the surface is trimmed.
Public property KnotVectorU Gets or sets the surface knot vector in the U parametric direction.
Public property KnotVectorV Gets or sets the surface knot vector in the V parametric direction.
Public property LayerName Gets or sets the name of the referenced Layer. (inherited from Entity).
Public property LineTypeMethod Gets or sets the entity line type source. (inherited from Entity).
Public property LineTypeName Gets or sets the line type name of the Environment.LineTypes collection. In use only if the LineTypeMethod is byEntity. (inherited from Entity).
Public property LineTypeScale Gets or sets the line type scale. (inherited from Entity).
Public property LineWeight Gets or sets the entity line weight. (inherited from Entity).
Public property LineWeightMethod Gets or sets the entity line weight source. (inherited from Entity).
Public property MaterialName Gets or sets the entity material name. (inherited from Entity).
Public property OrientedBounding A bounding volume that can fit the entity in a different orientation than AABB. It can be an OrientedBoundingBox or an OrientedBoundingRect(for planar entities). UpdateOrientedBoundingBox (inherited from Entity).
Public property PolyRegion Gets or sets surface tessellation polygonal region.
Public property RegenMode Gets or sets the entity regeneration mode.
Public property SeamU Gets surface seam U, if exists.
Public property SeamV Gets surface seam V, if exists.
Public property Selectable Gets or sets the value that tells if the top-level item can be selected. (inherited from Entity).
Public property Selected Gets or sets the entity selection status. (inherited from Entity).
Public property ShowControl If true, the control polygon/net for this entity is displayed. (inherited from NurbsBase).
Public property ShowCurvature When true, curvature map is displayed.
Public property TextureOffsetU Gets or set surface texture mapping offset in U direction.
Public property TextureOffsetV Gets or set surface texture mapping offset in V direction.
Public property TextureScaleU Gets or set surface texture mapping scale in U direction.
Public property TextureScaleV Gets or set surface texture mapping scale in V direction.
Public property Triangles Gets tessellation triangles array.
Public property Trimming Gets or sets the surface's trimming region.
Public property Vertices Gets or sets entity's 3D vertices. (inherited from Entity).
Public property Visible Gets or sets the entity visibility status for the top-level. (inherited from Entity).
Internal protected (Protected Friend) property entityNature Gets or sets the nature of the entity. (inherited from Entity).
Top
Methods
 
Name Description
Protected method AddVerticesToXElement(XElement) For internal use only. (inherited from Entity).
Public method Static AdjustTrimLoopsGenericAndRevolved(Surface, Surface) Transforms the trimLoops when converting a surface from Nurbs to angular parametrization and back.
Internal protected (Protected Friend) method AllVerticesInFrustum(FrustumParams) (inherited from Entity).
Internal protected (Protected Friend) method AllVerticesInScreenPolygon(ScreenPolygonParams) Tells if an entity is fully contained inside a polygon defined in screen coordinates. (inherited from Entity).
Internal protected (Protected Friend) method Animate(int) Gives a chance to derived classes to change the entity position/rotation at each timer tick. (inherited from Entity).
Protected method Static Bernstain(int, int, double) Computes the value of Berstain polynomial. (inherited from NurbsBase).
Protected method Static BernstainDer(int, int, double) Computes the value of the first derivative of a Berstain polynomial. (inherited from NurbsBase).
Protected method BezierToPowerMatrix(int) Computes Mp efficiently. (inherited from NurbsBase).
Public method Static Blend(Surface, Surface, int, int, double, bool, bool) Creates a blend surface between two surfaces.
Public method Static Chamfer(IList<Surface>, IList<Surface>, double, double, bool, bool, bool, bool, bool, bool, out Surface[]) Constant chamfer between two groups of surfaces.
Public method Static Chamfer(IList<Surface>, IList<Surface>, double, double, bool, bool, bool, bool, bool, bool, out Surface[], out Surface[], out Surface[]) Constant chamfer between two groups of surfaces, with surfaces leftover by the trim operation.
Public method Static Chamfer(Surface, Surface, double, double, bool, bool, bool, bool, bool, bool, out Surface[]) Constant chamfer between two surfaces.
Internal protected (Protected Friend) method CheckIsSmallArray(int) Ensures that the IsSmall array is big enough to hold data for the specified number of viewports. (inherited from Entity).
Protected method CheckWeight9() Check if the weight of odd control points is Sqrt(2)/2.
Public method Static ChordLengthParametrization<T>(IList<T>, out double[]) Computes chord length parameterization from a vector of points. (inherited from NurbsBase).
Public method Static ChordLengthParametrization<T>(int, int, IList<T>, out double[], out double[]) Computes chord length parameterization from a vector of points. (inherited from NurbsBase).
Public method ClearSelectability(Stack<BlockReference>) Clear the entity selectability status for the defined nested instance. (inherited from Entity).
Public method ClearSelectabilityForAllInstances() Clears the selectability status for all instances. (inherited from Entity).
Public method ClearSelectionForAllInstances() Clears the selection status for all instances. (inherited from Entity).
Public method ClearVisibility(Stack<BlockReference>) Clear the entity visibility status for the defined nested instance. (inherited from Entity).
Public method ClearVisibilityForAllInstances() Clears the visibility status for all instances. (inherited from Entity).
Public method Clone() Creates a deep copy of this surface.
Public method ClosestPointTo(Point3D, out Point3D) Computes the signed distance between a 3D point and this surface object.
Public method ClosestPointTo(Point3D, out double, out double) Finds the closest point on the surface.
Public method Static CollinearNormal(Surface, Surface, double, ref double, ref double, ref double, ref double) Computes the collinear normal between two surfaces.
Internal protected (Protected Friend) method CombineBoundingBox(Transformation, Point3D, Point3D) Combines the entity's bounding box with the given bounding box. (inherited from Entity).
Public method Compile(CompileParams) Compiles the graphic representation of this entity.
Protected method CompileWire(CompileParams) Compiles the graphics representation of wireframe entities. (inherited from Entity).
Internal protected (Protected Friend) method ComputeBoundingBox(TraversalParams, out Point3D, out Point3D) Computes the entity's bounding box.
Public method ComputeCurvatureMap(Environment, Legend, curvatureType) Computes the desired curvature map.
Internal protected (Protected Friend) method ComputeOffsetOnCameraAxes(OffsetOnCameraAxesParams) Computes the intersection of the lines passing from the vertices and oriented like the frustum planes with the X and Y axes of the camera. (inherited from Entity).
Internal protected (Protected Friend) method Static ComputeOffsetOnCameraAxes(OffsetOnCameraAxesParams, IList<Point3D>, int) (inherited from Entity).
Internal protected (Protected Friend) method Static ComputeOffsetOnCameraAxes(Transformation, float[], int, Point2D, Point2D, Point2D, Point2D, int) (inherited from Entity).
Public method ControlBoundingBox() Returns the 3D size of the surface control point net axis aligned bounding box.
Public method ControlBoundingBox(out Point3D, out Point3D) Computes the minimum and maximum 3D points of the surface control point net axis aligned bounding box.
Public method ConvertToBrep(double) Converts this Surface to a Brep object.
Public method ConvertToMesh(double, double, natureType, bool) Converts this Surface to a Mesh object.
Public method ConvertToSolid(double, double) Converts this Surface to a Mesh object.
Public method ConvertToSurrogate() Converts the entity to its surrogate, for serialization purpose.
Public method CopyAttributes(Entity) Copies the following attributes to this entity: Color, ColorMethod, LineWeight, LineTypePattern, LineTypeMethod, LineWeight, LineWeightMethod, LayerName and MaterialName. (inherited from Entity).
Public method CopyAttributesFast(Entity) Copies the following attributes to this entity: Visible, InstanceVisibilityInfo, Color, ColorMethod, LayerName and MaterialName attributes. (inherited from Entity).
Public method Static CreateEllipsoid(double, double, double) Creates a NURBS ellipsoid centered in the origin.
Public method Static CreatePlanar(ICurve) Obsolete. Creates a planar surface bounded by the contour provided.
Public method Static CreatePlanar(ICurve, IList<ICurve>) Obsolete. Creates a planar surface bounded by the contours provided.
Public method Static CreatePlanar(IList<ICurve>) Obsolete. Creates surface on a given plane bounded by the contours provided.
Public method Static CreatePlanar(Plane, ICurve, IList<ICurve>, bool) Obsolete. Creates surface on a given plane bounded by the contours provided.
Public method Static CreatePlanar(Plane, ICurve, bool) Obsolete. Creates surface on a given plane bounded by the contour provided.
Public method Static CreatePlanar(Plane, IList<ICurve>, bool) Obsolete. Creates surface on a given plane bounded by the contours provided.
Public method Static CreatePlanar(Plane, Point3D, Point3D) Creates a planar rectangular surface parallel to the specified plane.
Public method Curvature(Point2D, out double, out double) Evaluates the surface Gaussian and Mean curvatures at the specified 2D point.
Public method Curvature(double, double, out double, out double) Evaluates the surface Gaussian and Mean curvatures at the specified parametric point.
Public method Curvature(double, double, out double, out double, out double, out double) Evaluates the surface curvatures at the specified parametric point.
Public method Curvature(double, double, out double, out double, out double, out double, out Vector3D, out Vector3D) Evaluates the surface curvatures at the specified parametric point.
Public method Decompose() Decomposes the surface into Bézier patches.
Public method DecomposeU() Decomposes the surface into Bézier patches in the U parametric direction.
Public method DecomposeV() Decomposes the surface into Bézier patches in the U parametric direction.
Public method DegreeElevateU(int) Degree elevates the surface in the U parametric direction.
Public method DegreeElevateV(int) Degree elevates the surface in the V parametric direction.
Public method Dispose() Cleans up graphics resources, like display lists, textures, etc.
Internal protected (Protected Friend) method Draw(DrawParams) Draws the entity.
Internal protected (Protected Friend) method DrawDirection(DrawDirectionParams) Draws a small arrow to show the entity direction if DrawCurveDirection is true. (inherited from Entity).
Internal protected (Protected Friend) method DrawEdges(DrawParams) Draws the entity's edges.
Protected method DrawEntity(RenderContextBase, object) Internal method that draws the entity. (inherited from Entity).
Internal protected (Protected Friend) method DrawFast(DrawParams) Draws the entity in fast inaccurate transparency mode. (inherited from Entity).
Internal protected (Protected Friend) method DrawFlat(DrawParams) Draws entity in displayType.Flat DisplayMode. (inherited from Entity).
Internal protected (Protected Friend) method DrawFlatFast(DrawParams) Draws the entity in flat and fast inaccurate transparency mode. (inherited from Entity).
Internal protected (Protected Friend) method DrawFlatSelected(DrawParams) Draws entity selected in displayType.Flat DisplayMode. (inherited from Entity).
Internal protected (Protected Friend) method DrawForSelection(GfxDrawForSelectionParams) Draws the entity without specifing any color.
Internal protected (Protected Friend) method DrawForSelectionEdges(GfxDrawForSelectionParams) Draws the entity edges in false-colors (for some kinds of entities only). (inherited from Entity).
Internal protected (Protected Friend) method DrawForSelectionFaces(GfxDrawForSelectionParams) Draws the entity faces in false-colors (for some kinds of entities only). (inherited from Entity).
Internal protected (Protected Friend) method DrawForSelectionVertices(GfxDrawForSelectionParams) Draws the entity vertices in false-colors (for some kinds of entities only). (inherited from Entity).
Internal protected (Protected Friend) method DrawForSelectionWireframe(GfxDrawForSelectionParams) Draws entity as wires without specifing any color.
Internal protected (Protected Friend) method DrawForShadow(RenderParams) Draws the entity planar shadow.
Internal protected (Protected Friend) method DrawHiddenLines(DrawParams) Draw the entity in the displayType.HiddenLines display mode.
Internal protected (Protected Friend) method DrawHiddenLinesFast(DrawParams) Draw the entity in the displayType.HiddenLines display mode in fast inaccurate transparency mode. (inherited from Entity).
Internal protected (Protected Friend) method DrawHiddenLinesMaterial(RenderParams) (inherited from Entity).
Internal protected (Protected Friend) method DrawHiddenLinesMaterialFast(RenderParams) (inherited from Entity).
Internal protected (Protected Friend) method DrawIsocurves(DrawParams) Draws the entity iso curves. For Mesh entities this method draws internal wires.
Internal protected (Protected Friend) method DrawIsocurvesForFlat(DrawParams) Draws the isocurves in Flat display mode.
Internal protected (Protected Friend) method DrawNormals(DrawParams) Draws entity's normal vectors.
Internal protected (Protected Friend) method DrawOnScreen(DrawOnScreenParams) Draws extra things on screen, like the vertex indices (if Viewport.ShowVertexIndices is true). (inherited from Entity).
Internal protected (Protected Friend) method DrawOnScreen(DrawOnScreenParams, int) Draws extra things on screen, like the vertex indices (if Viewport.ShowVertexIndices is true). (inherited from Entity).
Internal protected (Protected Friend) method DrawOnScreenWireframe(DrawOnScreenWireframeParams) Draws extra things on screen, like the vertex Numbers (if Viewport.ShowVertexIndices is true) in wireframe display mode. (inherited from Entity).
Internal protected (Protected Friend) method DrawOnScreenWireframe(DrawOnScreenWireframeParams, int) Draws extra things on screen, like the vertex Numbers (if Viewport.ShowVertexIndices is true) in wireframe dispaly mode. (inherited from Entity).
Internal protected (Protected Friend) method DrawSelected(DrawParams) Draws entity selected. (inherited from Entity).
Internal protected (Protected Friend) method DrawSelectedVertices(DrawParams) Draws the entity selected vertices. (inherited from Entity).
Internal protected (Protected Friend) method DrawSilhouettes(DrawSilhouettesParams) Draws Silhouettes.
Internal protected (Protected Friend) method DrawVertices(DrawParams) Draws entity's vertices. (inherited from Entity).
Protected method DrawWire(DrawParams) Draws a wireframe entity, resolving the LineTypeName for LineTypeMethod colorMethodType.byParent. (inherited from Entity).
Protected method DrawWireEntity(RenderContextBase, object) Draws the Wireframe entity. (inherited from Entity).
Internal protected (Protected Friend) method DrawWireframe(DrawParams) Draws entity as wires.
Internal protected (Protected Friend) method DrawWireframeSelected(DrawParams) Draws entity as selected wires. (inherited from Entity).
Protected method DrawWithPattern(RenderContextBase, object) (inherited from Entity).
Public method DropCurve(ICurve, bool, out Curve) Creates the 2D parametric curve corresponding to a 3D geometric curve which lies on or near a surface.
Public method Static DropLoops(Surface, IList<ICurve>) Creates the 2D parametric trim loops corresponding to a 3D geometric - closed - contours list which lie on a surface.
Public method Dump(linearUnitsType, massUnitsType, LayerKeyedCollection, MaterialKeyedCollection, BlockKeyedCollection) Returns a description of this entity.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (inherited from Object).
Public method EstimateBoundingBox(BlockKeyedCollection, LayerKeyedCollection) Returns a small set of points that gives an idea of the entity bounding box.
Public method Evaluate(Point2D) Computes the surface point.
Public method Evaluate(Point2D, int) Computes the surface derivatives.
Public method Evaluate(double, double) Computes the surface point at parametric values [u, v].
Public method Evaluate(double, double, int) Computes the surface derivatives at parametric values [u,v].
Protected method EvaluateIntersectEdges(FrustumParams) Tells if must evaluate the intersection of the edges with the frustum.
Protected method EvaluateIntersectTriangles(FrustumParams) Tells if must evaluate the intersection of the triangles with the frustum.
Public method ExtractEdge(int, int) Returns the specified 3D edge curve.
Public method ExtractEdges() Returns all the surface 3D edge curves.
Public method ExtractLoops3D() Returns all the surface 3D edge curves.
Public method Static ExtrudeWithTwist(ICurve, Vector3D, Point3D, double, double) Extrudes and twists a planar curve.
Public method Static ExtrudeWithTwist(ICurve, Vector3D, Point3D, double, int) Extrudes and twists a planar curve.
Public method Static Fillet(IList<Surface>, IList<Surface>, double, double, bool, bool, bool, bool, bool, bool, out Surface[]) Constant fillet between two groups of surfaces.
Public method Static Fillet(IList<Surface>, IList<Surface>, double, double, bool, bool, bool, bool, bool, bool, out Surface[], out Surface[], out Surface[]) Constant fillet between two groups of surfaces, with surfaces leftover by the trim operation.
Public method Static Fillet(Surface, Surface, double, double, bool, bool, bool, bool, bool, bool, out Surface[]) Constant fillet between two surfaces.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object).
Public method FindClosestTriangle(Transformation, Segment3D) Returns a list of triangles hit by the provided segment.
Public method FlipNormal()
Public method FreeCache() Frees point projection and convex hull cache memory.
Protected method Static FrustumEdgesTriangleIntersection(Segment3D[], Point3D, Point3D, Point3D) (inherited from Entity).
Internal protected (Protected Friend) method GetAllVertices(TraversalParams, out IList<Point3D>) Gets tesselation vertices of the entity. (inherited from Entity).
Public method GetArea(out Point3D)
Protected method Static GetClosestMainAxis(Vector3D) (inherited from Entity).
Public method GetControlNetPoints2D(Plane, out Point3D, out Point2D, out Point2D)
Public method GetGeneric() Returns the generic representation of this surface, it can be useful in data translation.
Public method GetHashCode Serves as the default hash function. (inherited from Object).
Protected method Static GetIndividualSurfaces(Surface) Subdivides a surface at knots of multiplicity equal to the order. Tabulated Surfaces are divided only along the U direction, Revolved Surfaces only in the V direction.
Public method GetMass(Material, linearUnitsType, massUnitsType, out double)
Protected method GetNormalLength() Gets the entity normal length. (inherited from Entity).
Public method GetObjectData(SerializationInfo, StreamingContext) Populates a SerializationInfo instance with the data needed to serialize the target object.
Protected method Static GetOffsetDistance(Vector3D, Vector3D, double) Computes the offset distance for the extrude with draft angle methods. (inherited from Entity).
Public method GetPerimeter() Computes the sum of the lengths of all the surface's edges.
Public method GetPolygonMeshes()
Public method GetSelectability(Stack<BlockReference>) Gets the entity selectability status. (inherited from Entity).
Public method GetSelection(Stack<BlockReference>) Gets the entity selection status. (inherited from Entity).
Protected method GetTrimLoopsXElement()
Public method GetType Gets the Type of the current instance. (inherited from Object).
Public method GetVisibility(Stack<BlockReference>) Gets the entity visibility status. (inherited from Entity).
Public method GetVolume(out Point3D)
Protected method GetXAttributes(bool) For internal use only. (inherited from Entity).
Public method GetXElement(bool) For internal use only.
Public method Static GlobalInterpolation(Point3D[,], int, int) Global surface interpolation.
Public method Static Gordon(IList<ICurve>, IList<ICurve>) Creates a Gordon surface.
Public method Static Gordon(IList<ICurve>, IList<ICurve>, Point3D[,]) Creates a Gordon surface.
Protected method InitGraphicsData() Initialize the graphics data.
Public method InsertKnotU(Point3D, int) Inserts a knot a number of times in the U parametric direction. It is added at the U parameter corresponding to the projection of the given point on the surface. The operation does not affect the shape of the surface.
Public method InsertKnotU(double, int) Inserts a knot a number of times in the U parametric direction.
Public method InsertKnotV(Point3D, int) Inserts a knot a number of times in the V parametric direction. It is added at the V parameter corresponding to the projection of the given point on the surface. The operation does not affect the shape of the surface.
Public method InsertKnotV(double, int) Inserts a knot a number of times in the V parametric direction.
Internal protected (Protected Friend) method Static InsideFrustumPoint(PlaneEquation[], Transformation, IList<Point3D>, int) (inherited from Entity).
Internal protected (Protected Friend) method InsideOrCrossingFrustum(FrustumParams)
Internal protected (Protected Friend) method Static InsideOrCrossingFrustumInternal(PlaneEquation[], Transformation, IList<Point3D>, int, int) (inherited from Entity).
Internal protected (Protected Friend) method InsideOrCrossingScreenPolygon(ScreenPolygonParams)
Internal protected (Protected Friend) method Static InsideOrCrossingScreenPolygonInternal(ScreenPolygonParams, IList<Point3D>, int, int) (inherited from Entity).
Internal protected (Protected Friend) method Static InsideOrCrossingScreenPolygonPoint(ScreenPolygonParams, IList<Point3D>, int) (inherited from Entity).
Public method Static Intersect(IList<Surface>, IList<Surface>, double) Determines if two groups of surfaces intersect.
Public method IntersectWith(Plane, double) Computes the intersection of a surface and a plane as a collection of curves.
Public method IntersectWith(ICurve, double) Finds all the 3D points where a curve and a surface intersect.
Public method IntersectWith(Surface, double, out ICurve[]) Computes the intersection with the specified surface as a collection of curves.
Public method Static Intersection(IList<Surface>, IList<Surface>, double, out ICurve[]) Computes the intersection of two groups of surfaces as a collection of curves.
Public method Intersects(Surface, double) Determines if the surface intersects with another surface.
Internal protected (Protected Friend) method Intersects2D(Entity, bool, bool, Transformation, Transformation, out List<Entity>) Checks if two 2D entity intersect geometrically on Plane XY (inherited from Entity).
Public method IsAnyInstanceSelectable() Tells if there is at least an instance selectable. (inherited from Entity).
Public method IsAnyInstanceSelected() Tells if there is at least an instance selected. (inherited from Entity).
Public method IsAnyInstanceVisible() Tells if there is at least an instance visible. (inherited from Entity).
Internal protected (Protected Friend) method IsCrossing(FrustumParams) Tells if the entity is inside or crossing the given planes and edges. (inherited from Entity).
Internal protected (Protected Friend) method IsCrossingScreenPolygon(ScreenPolygonParams) Tells if an entity is fully or partially contained inside a polygon defined in screen coordinates. (inherited from Entity).
Public method IsInFrustum(FrustumParams) Tells if the entity is inside the frustum planes. (inherited from Entity).
Public method IsInFrustum(FrustumParams, Point3D, double) Tells if the sphere surrounding the entity is inside the frustum planes. (inherited from Entity).
Public method IsOnSeamU(ICurve, double) Checks if a curve is on the seam of a surface.
Public method IsOnSeamV(ICurve, double) Checks if a curve is on the seam of a surface.
Public method IsPlanar(double, out Plane) Checks if the surface is planar.
Public method IsSelected(Stack<BlockReference>) Obsolete. Tells if the instance referred by the stack of parents is selected. (inherited from Entity).
Internal protected (Protected Friend) method IsSmall(IsSmallParams) Checks if an entity is small and can be skipped during the drawing. (inherited from Entity).
Public method IsSmall(int) Tells if the entity screen size is classified as small/>. (inherited from Entity).
Public method IsValid() Returns true if all the entity fields contain reasonable information.
Internal protected (Protected Friend) method IsVisible(Stack<BlockReference>, LayerKeyedCollection, attributeReferenceVisibilityType) Check if the entity is visible. (inherited from Entity).
Internal protected (Protected Friend) method IsVisibleAndInFrustum(Stack<BlockReference>, LayerKeyedCollection, attributeReferenceVisibilityType) Check if the entity is visible. (inherited from Entity).
Public method IsocurveU(double) Generates an iso curve in the U parametric direction.
Public method IsocurveV(double) Generates an iso curve in the V parametric direction.
Public method LiftCurve(Curve, double) Creates the 3D curve corresponding to a 2D curve in the parametric space of the surface.
Public method Static LocalInterpolation(Point3D[,]) Local bicubic surface interpolation.
Public method Static Loft(IList<ICurve>) Creates a surface from skinning.
Public method Static Loft(IList<ICurve>, int) Creates a surface from skinning.
Public method Static Loft(IList<ICurve>, int, bool, bool) Creates a surface from skinning.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object).
Public method Static MinimumDistance(Surface, Surface, double, ref double, ref double, ref double, ref double, out double) Computes the minimum distance between two surfaces.
Public method Normal(Point2D) Evaluates the surface normal at the specified parametric point.
Public method Normal(double, double) Evaluates the surface normal at the specified parametric point.
Public method Offset(double, double, out Surface) Computes the offset surface.
Public method PointAt(Point2D) Computes the surface point.
Public method PointAt(double, double) Computes the surface point at parametric values [u, v].
Public method PointInversion(Point3D, double, out Point2D) Projects a point on the surface. The point must already lay on the surface.
Public method PointInversion(Point3D, double, out Point2D, out Vector2D) Projects a point on the surface. The point must already lay on the surface.
Public method PointInversion(Point3D, double, out double, out double, out Vector2D) Projects a point on the surface. The point must already lay on the surface.
Public method PointInversion(Point3D, double, out double, out double) Projects a point on the surface. The point must already lay on the surface.
Protected method Static PowerToBezierMatrix(int, double[,]) Computes the inverse of Mp. (inherited from NurbsBase).
Public method Project(Point3D, double, bool, Point2D, out Point2D) Projects a point on the surface.
Public method Project(Point3D, double, bool, Point2D, out Point2D, out Vector2D) Projects a point on the surface.
Public method Project(Point3D, double, bool, double, double, out double, out double) Projects a point on the surface.
Public method Project(Point3D, double, bool, double, double, out double, out double, out Vector2D) Projects a point on the surface.
Public method Project(Point3D, double, bool, out Point2D) Projects a point on the surface.
Public method Project(Point3D, double, bool, out Point2D, out Vector2D) Projects a point on the surface.
Public method Project(Point3D, double, bool, out double, out double, out Vector2D) Projects a point on the surface.
Public method Project(Point3D, double, out Point2D) Projects a point on the surface.
Public method Project(Point3D, out Point2D) Projects a point on the surface.
Public method Project(Point3D, out double, out double) Projects a point on the surface.
Public method Project(Point3D, double, bool, out double, out double) Projects a point on the surface.
Public method Promote() Converts this generic surface to PlanarSurface, TabulatedSurface or RevolvedSurface (when possible).
Internal protected (Protected Friend) method Static PropagateAttributes(Entity, Entity, bool) Propagates the attributes to the entity passed as parameter. (inherited from Entity).
Public method RebuildEdge(int, int, double) Rebuild the 3D edge curve corresponding to a 2D trim curve in the parameter space of the surface.
Public method RebuildEdges(double) Rebuild all the surface 3D edges.
Public method RefineKnotVectorU(double[]) Refines the surface knot vector U.
Public method RefineKnotVectorV(double[]) Refines the surface knot vector V.
Public method Regen(RegenParams) This method is used for several purposes. For example in arcs and circles is used to generate the curve's linear approximation, in meshes to compute normals and edges and in Nurbs surfaces to generate the triangulation.
Public method RegenNoChanges(double) Computes an array of vertices according to the desired chordal error, without changing the entity's Vertices and RegenMode. (inherited from Entity).
Public method RemoveKnotU(int, int, int) Removes an internal knot from the surface U knot vector.
Public method RemoveKnotV(int, int, int) Removes an internal knot from the surface V knot vector.
Public method RemoveKnotsU(double) Removes as many knots as possible from the U knot vector of a surface.
Public method RemoveKnotsV(double) Removes as many knots as possible from the V knot vector of a surface.
Internal protected (Protected Friend) method Render(RenderParams) Renders the entity.
Internal protected (Protected Friend) method RenderFast(RenderParams) Renders the entity in fast inaccurate transparency mode. (inherited from Entity).
Internal protected (Protected Friend) method ResetIsSmallArray() Resets the array of IsSmall flags. (inherited from Entity).
Public method Resize(int, int, int, int) Resizes a surface.
Public method ResizeKeep(int, int, int, int) Resizes a surface, keeping original values.
Protected method Static RestoreOriginalDomainAndAddTrimLoops(Surface, double, double, Surface)
Protected method Static RestoreOriginalDomainAndAddTrimLoops(Surface, double, double, double, Surface, bool, PolyRegion2D, bool)
Public method ReverseU() Reverses the surface U direction.
Public method ReverseV() Reverses the surface V direction.
Public method Rotate(double, Vector3D, Point3D) Rotates the entity around an arbitrary axis by the specified angle. (inherited from Entity).
Public method Rotate(double, Point3D, Point3D) Rotates the entity around an arbitray axis by the specified angle. (inherited from Entity).
Public method Rotate(double, Vector3D) Rotates the entity around an arbitray axis by the specified angle. (inherited from Entity).
Public method Static Ruled(ICurve, ICurve) Creates a surface connecting linearly two curves.
Public method Scale(Point3D, double, double, double) Scales the entity of the specified scale factor. (inherited from Entity).
Public method Scale(Point3D, double) Scales the entity of the specified scale factor. (inherited from Entity).
Public method Scale(Vector3D) Scales the entity of the specified scale factor. (inherited from Entity).
Public method Scale(double) Scales the entity of the specified scale factor. (inherited from Entity).
Public method Scale(double, double, double) Scales the entity of the specified scale factor. (inherited from Entity).
Public method Section(Plane, double)
Public method Static Section(IList<Surface>, Plane, double) Computes the section of a group of surfaces and a plane as a collection of curves.
Internal protected (Protected Friend) method SelectedInternal() Tells if the entity has internal parts selected (inherited from Entity).
Internal protected (Protected Friend) method Static SetEntityColorForFace(DrawParams, Color) Sets the entity color or material depending on the color mode. (inherited from Entity).
Internal protected (Protected Friend) method Static SetEntityColorForSelection(DrawParams) Sets the entity color or material depending on the color mode. (inherited from Entity).
Public method SetLineWeight(RenderContextBase, float) Line weight changer. (inherited from Entity).
Internal protected (Protected Friend) method SetLineWeightForEdges(DrawEdgesParams) (inherited from Entity).
Internal protected (Protected Friend) method SetLineWeightForSilhouettes(DrawSilhouettesParams) (inherited from Entity).
Public method SetSelectability(bool, Stack<BlockReference>) Sets the entity selectability status. (inherited from Entity).
Public method SetSelection(bool, Stack<BlockReference>) Sets the entity selection status. (inherited from Entity).
Internal protected (Protected Friend) method Static SetSelectionColorForSelection(DrawParams) Sets the selection color or material depending on the color mode. (inherited from Entity).
Internal protected (Protected Friend) method SetShader(DrawParams) Sets a Shader before drawing the entity.
Public method SetVisibility(bool, Stack<BlockReference>) Sets the entity visibility status. (inherited from Entity).
Public method Shrink(double) Shrinks the underlying untrimmed surface in order to make it as small as possible.
Public method Static SkinU(IList<ICurve>, int) Creates a surface from skinning. The skinning is performed in the U direction.
Public method Static SkinU(IList<ICurve>, int, bool) Creates a surface from skinning. The skinning is performed in the U direction.
Public method Static SkinV(IList<ICurve>, int) Creates a surface from skinning. The skinning is performed in the V direction.
Public method Static SkinV(IList<ICurve>, int, bool) Creates a surface from skinning. The skinning is performed in the V direction.
Public method Static Split(IList<Surface>, Plane, double, out Surface[], out Surface[]) Splits a surface group by a plane.
Public method Static Split(IList<Surface>, Surface, double, out Surface[], out Surface[]) Splits a surface group by a surface.
Public method SplitAtU(double, out Surface, out Surface) Splits the surface along U.
Public method SplitAtV(double, out Surface, out Surface) Splits the surface along V.
Public method SplitBy(ICurve, out Surface, out Surface) Splits the surface using an open or closed contour.
Public method SplitBy(Plane, double, out Surface[], out Surface[]) Splits the surface by a plane.
Public method SplitBy(Surface, double, out Surface[], out Surface[]) Splits the surface by a surface.
Public method SplitByU(Point3D, out Surface, out Surface) Splits the surface along U.
Public method SplitByV(Point3D, out Surface, out Surface) Splits the surface along V.
Public method SwapUV() Swaps the U and V directions of the surface.
Internal protected (Protected Friend) method ThroughTriangle(FrustumParams)
Public method Static ThroughTriangleQuad(FrustumParams, IList<Point3D>) Tells if the quad defined by the vertices is inside the selection area defined by the edge list. (inherited from Entity).
Internal protected (Protected Friend) method ThroughTriangleScreenPolygon(ScreenPolygonParams)
Public method Static ThroughTriangleScreenPolygonQuad(IList<Point3D>, ScreenPolygonParams) Tells if the quad defined by the vertices is inside the selection area defined by the screen polygon. (inherited from Entity).
Public method ToString() Returns a string that represents the current object.
Internal protected (Protected Friend) method TransformAllVertices(Transformation, bool, bool) (inherited from Entity).
Public method TransformBy(Transformation) Transforms all the entity's vertices by the specified transformation.
Public method Translate(double, double, double) Translates the entity. (inherited from Entity).
Public method Translate(Vector3D) Translates the entity. (inherited from Entity).
Internal protected (Protected Friend) method Static Trim(Surface, IList<ICurve>)
Public method Static Trim(IList<Surface>, IList<Surface>, double, bool, bool) Trims a surface group against the other.
Public method Static Trim(IList<Surface>, IList<Surface>, double, bool, bool, out Surface[], out Surface[]) Trims a surface group against the other.
Public method Static Trim(IList<Surface>, Plane, double) Trims a surface group using the limit plane provided. Always removes the splits on the positive side of the plane.
Public method Static Trim(IList<Surface>, Plane, double, bool) Trims a surface group by a plane.
Public method Static Trim(IList<Surface>, Plane, double, bool, out Surface[]) Trims a surface group using the limit plane provided. Always removes the splits on the positive side of the plane.
Public method Static Trim(Surface, Surface, double, bool, bool) Trims a surface against the other.
Public method Static Trim(Surface, Surface, double, bool, bool, out Surface[], out Surface[]) Trims a surface against the other.
Public method TrimBy(ICurve, bool) Trims the surface using an open or closed contour.
Public method TrimBy(IList<Surface>, double, bool) Trims the surface using the limit surface group provided.
Public method TrimBy(IList<Surface>, double, bool, out Surface[]) Trims the surface using the limit surface group provided.
Public method TrimBy(Plane, double) Trims the surface using the limit plane provided. Always removes the surface on the positive side of the plane.
Public method TrimBy(Plane, double, bool) Trims the surface using the limit plane provided.
Public method TrimBy(Plane, double, bool, out Surface[]) Trims the surface using the limit plane provided.
Public method TrimBy(Plane, double, out Surface[]) Trims the surface using the limit plane provided. Always removes the surface on the positive side of the plane.
Public method TrimBy(Surface, double, bool) Trim the surface using the limit surface provided.
Public method TrimBy(Surface, double, bool, out Surface[]) Trim the surface using the limit surface provided.
Internal protected (Protected Friend) method Static TrimInternal(Surface, IList<ICurve>, bool)
Public method TryGetPlanar(out PlanarSurface) Converts this generic surface to PlanarSurface (when possible).
Public method TryGetRevolved(out RevolvedSurface) Converts this generic surface to RevolvedSurface (when possible).
Public method TryGetTabulated(out TabulatedSurface) Converts this generic surface to TabulatedSurface (when possible).
Public method Static UniformKnotVector(int, int) Constructs a uniform clamped knot vector. v[j+1]-v[j] is equal for all inners nodes. (inherited from NurbsBase).
Public method Untrim() Clears all trimming loops.
Public method UpdateBoundingBox(TraversalParams) Updates the entity's bounding box. (inherited from Entity).
Internal protected (Protected Friend) method UpdateBoundingBoxSphere() (inherited from Entity).
Public method UpdateOrientedBoundingBox(TraversalParams) Updates the entity's oriented bounding box or build it if not present. (inherited from Entity).
Public method UpdateOrientedBoundingBox(TraversalParams, bool) Updates the entity's oriented bounding box or build it if not present. (inherited from Entity).
Public method Static VariableChamfer(IList<Surface>, IList<Surface>, double, double, bool, double, bool, bool, bool, bool, bool, bool, out Surface[]) Variable chamfer between two groups of surfaces.
Public method Static VariableChamfer(IList<Surface>, IList<Surface>, double, double, bool, double, bool, bool, bool, bool, bool, bool, out Surface[], out Surface[], out Surface[]) Variable chamfer between two groups of surfaces, with surfaces leftover by the trim operation.
Public method Static VariableChamfer(Surface, Surface, double, double, bool, double, bool, bool, bool, bool, bool, bool, out Surface[]) Variable chamfer between two surfaces.
Public method Static VariableFillet(IList<Surface>, IList<Surface>, double, double, bool, double, bool, bool, bool, bool, bool, bool, out Surface[]) Variable fillet between two groups of surfaces.
Public method Static VariableFillet(IList<Surface>, IList<Surface>, double, double, bool, double, bool, bool, bool, bool, bool, bool, out Surface[], out Surface[], out Surface[]) Variable fillet between two groups of surfaces, with surfaces leftover by the trim operation.
Public method Static VariableFillet(Surface, Surface, double, double, bool, double, bool, bool, bool, bool, bool, bool, out Surface[]) Variable fillet between two individual surfaces.
Protected method WriteObjAsLines(ref int, TextWriter, ref int, ref int, ref int, TextWriter, LayerKeyedCollection, string, MaterialKeyedCollection, double, double, BlockKeyedCollection) Write in Obj file format as set of lines connecting vertices. (inherited from Entity).
Internal protected (Protected Friend) method WriteUsemtl(int, TextWriter, TextWriter, LayerKeyedCollection) (inherited from Entity).
Protected method WriteUsemtl(string, TextWriter) (inherited from Entity).
Public method Static banbks(double[,], int, int, double[,], int[], ref double[,]) (inherited from NurbsBase).
Public method Static banbks(double[,], int, int, double[,], int[], ref double[]) (inherited from NurbsBase).
Public method Static bandec(double[,], int, int, double[,], int[], out double) (inherited from NurbsBase).
Public method Static lubksb(double[,], int[], ref double[]) (inherited from NurbsBase).
Top
Events
 
Name Description
Public event VisibleChanged Occurs when the Visible changes. (inherited from Entity).
Top
Classes
 
Name Description
Public class PolygonPoint Surface.PolyRegion 2D point definition.
Top
Name Description
Public enumeration curvatureType Surface curvature type.
Top
Fields
 
Name Description
Protected field _convexHull
Protected field _localOB (inherited from Entity).
Internal protected (Protected Friend) field bottomEdge Surface's left pole or tip.
Internal protected (Protected Friend) field drawData Default graphics data. (inherited from Entity).
Protected field geometricalAttributesDirty When true, geometrical attributes need to be updated. (inherited from NurbsBase).
Internal protected (Protected Friend) field leftEdge Surface's bottom pole or tip.
Internal protected (Protected Friend) field rightEdge Surface's top pole or tip.
Internal protected (Protected Friend) field topEdge Surface's right pole or tip.
Top

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition