Curve Class

Nurbs curve entity.
Public Class Curve 
Inherits NurbsBase 
Implements ICurve
This language is not supported or no code example is available.
public class Curve : NurbsBase
ICurve
This language is not supported or no code example is available.
Name Description
Protected constructor Curve(Curve)
Internal protected (Protected Friend) constructor Curve(CurveSurrogate) Proprietary file format constructor.
Public constructor Curve(GCurve) Constructor with primitive.
Public constructor Curve(Point3D, Vector3D, Point3D, Vector3D, Point3D) Elliptical arc by three points and two tangents constructor.
Public constructor Curve(SerializationInfo, StreamingContext) Constructor for deserializing objects.
Public constructor Curve(int, IList<Point3D>) Curve by control points constructor.
Public constructor Curve(int, double[], Point4D[], bool) Standard constructor.
Public constructor Curve(int, params Point3D[]) Curve by control points constructor.
Top
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 or sets the curve control point array.
Public property Degree Gets or sets the curve degree.
Public property Domain Gets curve domain.
Internal protected (Protected Friend) property DynamicSelectionHaloMode Gets or sets the entity halo drawing mode for dynamic selection. (inherited from Entity).
Public property EdgeIndex
Public property EndPoint
Public property EndTangent
Public property EntityData Gets or sets the entity custom data. (inherited from Entity).
Public property GroupIndex Gets or sets the entity group index. (inherited from Entity).
Public property Static IgnoreSubSelectionRegenData When true, it doesn't force regeneration even if subselection metadata are missing. (inherited from Entity).
Public property IsClosed Returns true if the curve is closed.
Public property IsLine If true the curve is a line and not a degenerated one (a point).
Public property IsPoint If true, the curve is a degenerated one (a point).
Public property IsRational Returns true if the curve is rational.
Public property KnotVector Gets or sets the curve knot vector U.
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 Workspace.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 Order Gets curve order.
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 Primitive Gets the primitive object.
Public property PrintOrder Gets or sets the entity printing order. Entities with a lower value are printed first. Default value is zero. (inherited from Entity).
Public property RegenMode Gets or sets the entity regeneration mode.
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 graph is displayed.
Public property StartPoint
Public property StartTangent
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
Public method AddControlPoint(Point3D) Inserts a control point on the control polygon. The control point will be added at the projection of the given 3D point on the polygon. The insertion does not affect the shape of the curve.
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).
Public method Static Chamfer(ICurve, ICurve, Vector3D, double, bool, bool, bool, bool, out Line) Chamfers two curves.
Public method Static Chamfer(ICurve, ICurve, double, bool, bool, bool, bool, out Line) Chamfers two curves.
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 curve.
Public method ClosestPointTo(Point3D, out double)
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 CompilePattern(CompileParams) Compiles the graphics representation of the pattern of wireframe entities. (inherited from 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. (inherited from Entity).
Protected method Static ComputeBoundingBox(TraversalParams, IList<Point3D>, out Point3D, out Point3D) Computes the entity's bounding box. (inherited from Entity).
Protected method Static ComputeBoundingBox(TraversalParams, float[], int, out Point3D, out Point3D) (inherited from Entity).
Public method ComputeCurvatureGraph(Workspace, float) 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(double, out Point3D, out Point3D) Computes the extension of the control polygon/net.
Public method ControlLength() Gets the length of the curve's control polygon.
Public method ControlLengthSquared() Gets the squared length of the curve's control polygon.
Public method ConvertToArcsAndLines() Converts the curve with a sequence of arcs and lines.
Public method ConvertToArcsAndLines(double, double, double) Converts the curve with a sequence of arcs and lines.
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, GroupIndex, LineTypeName, LineTypeMethod, LineTypeScale, LineWeight, LineWeightMethod, LayerName and MaterialName. (inherited from Entity).
Public method CopyAttributesFast(Entity) Copies the following attributes to this entity: Visible, Color, ColorMethod, LayerName and MaterialName attributes. (inherited from Entity).
Public method Static CreateEntitiesFromPrimitives(IEnumerable<IGCurve>) Creates a new array of ICurve instances starting from the related primitives. (inherited from Entity).
Public method Static CreateEntitiesFromPrimitives<T>(IEnumerable<GEntity>) Creates a new array of Entity instances starting from the related primitives. (inherited from Entity).
Public method Static CreateEntityFromPrimitive(GEntity) Creates a new entity instance starting from the related primitive. (inherited from Entity).
Public method Static CubicSplineInterpolation(IList<Point3D>, Vector3D, Vector3D) Cubic spline interpolation.
Public method Static CubicSplineInterpolation<R>(IList<R>, bool) Cubic spline interpolation with automatic tangents.
Public method Curvature(double) Computes the curve curvature at parametric value u.
Public method Decompose() Decomposes the curve into Bézier segments.
Public method DegreeElevate(int) Degree elevates the curve.
Public method Dispose() Cleans up graphics resources, like display lists, textures, etc.
Internal protected (Protected Friend) method Draw(DrawParams) Draws the entity.
Protected method DrawCurvature(RenderContextBase, object)
Internal protected (Protected Friend) method DrawDirection(DrawParams) Draws a small arrow to show the entity direction if Workspace.ShowCurveDirection is true.
Internal protected (Protected Friend) method DrawEdges(DrawParams) Draws the entity's edges. (inherited from Entity).
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 Viewport.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 Viewport.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 DrawForSelectionSketchCurves(GfxDrawForSelectionParams) Draws the entity curves in false-colors (for some kinds of entities only). (inherited from Entity).
Internal protected (Protected Friend) method DrawForSelectionSketchPoints(GfxDrawForSelectionParams) Draws the entity points in false-colors (for some kinds of entities only). (inherited from Entity).
Internal protected (Protected Friend) method DrawForSelectionSubContours(GfxDrawForSelectionParams) Draws the entity contours in false-colors (for some kinds of entities only). (inherited from Entity).
Internal protected (Protected Friend) method DrawForSelectionSubCurves(GfxDrawForSelectionParams) Draws the entity subCurves 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. (inherited from Entity).
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. (inherited from Entity).
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. (inherited from Entity).
Internal protected (Protected Friend) method DrawIsocurvesForFlat(DrawParams) Draws the isocurves in Flat display mode. (inherited from Entity).
Internal protected (Protected Friend) method DrawNormals(DrawParams) Draws entity's normal vectors. (inherited from Entity).
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. (inherited from Entity).
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. (inherited from Entity).
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 Static Drop(Plane, ICurve) Project curve on the specified plane.
Public method Dump(linearUnitsType, massUnitsType, LayerKeyedCollection, MaterialKeyedCollection, BlockKeyedCollection) Returns a description of this entity.
Public method Equals(Object) (inherited from Object).
Public method EstimateBoundingBox(BlockKeyedCollection, LayerKeyedCollection) Returns a small set of points that gives an idea of the entity bounding box. (inherited from Entity).
Public method Evaluate(double) Computes the curve point at parametric value u.
Public method Evaluate(double, int) Computes the curve derivatives at parametric value u.
Protected method EvaluateIntersectEdges(FrustumParams) Tells if must evaluate the intersection of the edges with the frustum. (inherited from Entity).
Protected method EvaluateIntersectTriangles(FrustumParams) Tells if must evaluate the intersection of the triangles with the frustum. (inherited from Entity).
Public method EvaluateTangent(double, out Point3D, out Vector3D) Evaluate unit tangent at a parameter with error checking.
Public method ExtrudeAsBrep(Line, double)
Public method ExtrudeAsBrep(double, double, double, double)
Public method ExtrudeAsBrep(Vector3D, double, double)
Public method ExtrudeAsMesh(Vector3D, double, natureType)
Public method ExtrudeAsMesh(double, double, double, double, natureType)
Public method ExtrudeAsMesh<T>(Vector3D, double, natureType)
Public method ExtrudeAsMesh<T>(double, double, double, double, natureType)
Public method ExtrudeAsSolid(Vector3D, double)
Public method ExtrudeAsSolid(double, double, double, double)
Public method ExtrudeAsSurface(Line)
Public method ExtrudeAsSurface(Vector3D)
Public method ExtrudeAsSurface(Vector3D, double, double)
Public method ExtrudeAsSurface(double, double, double)
Public method Static Fillet(ICurve, ICurve, Vector3D, double, bool, bool, bool, bool, out Arc) Fillets two coplanar curves with an arc of given radius.
Public method Static Fillet(ICurve, ICurve, double, bool, bool, bool, bool, out Arc) Fillets two coplanar curves with an arc of given radius.
Protected method Finalize (inherited from Object).
Protected method Static FrustumEdgesTriangleIntersection(Segment3D[], Point3D, Point3D, Point3D) (inherited from Entity).
Internal protected (Protected Friend) method GetAllVertices(TraversalParams, out IList<Single>) Gets tessellation vertices as float coordinates of the entity. (inherited from Entity).
Protected method Static GetClosestMainAxis(Vector3D) (inherited from Entity).
Public method GetHashCode (inherited from Object).
Public method GetIndividualCurves()
Public method GetLengthFromParam(double, out double)
Protected method GetNormalLength() Gets the entity normal length. (inherited from Entity).
Public method GetNurbsForm() Gets the Nurbs form of this curve.
Public method GetObjectData(SerializationInfo, StreamingContext) Populates a SerializationInfo instance with the data needed to serialize the target object. (inherited from Entity).
Protected method Static GetOffsetDistance(Vector3D, Vector3D, double) Computes the offset distance for the extrude with draft angle methods. (inherited from Entity).
Public method GetParamFromLength(double, double, out double)
Public method GetParamFromLength(double, out double)
Public method GetParamsFromLength(double[], out double[]) Given a sorted array of lengths along the curve, finds the parameter values that correspond to them.
Public method GetPointsByLength(double)
Public method GetPointsByLengthPerSegment(double)
Public method Static GetPrimitiveFromEntity(Entity) Gets the primitive related to an Entity. (inherited from Entity).
Public method Static GetPrimitiveFromEntity(ICurve) Gets the primitive related to an ICurve object. (inherited from Entity).
Public method Static GetPrimitivesFromEntities(IEnumerable<ICurve>) Gets the primitives related to an ICurve's collection. (inherited from Entity).
Public method Static GetPrimitivesFromEntities<T>(IEnumerable<Entity>) Gets the primitives related to an entity's collection. (inherited from Entity).
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).
Public method GetTightBBox(out Point3D, out Point3D)
Public method GetTrimCurve() Gets a GTrimCurve representation of this curve
Public method GetType (inherited from Object).
Public method GetVisibility(Stack<BlockReference>) Gets the entity visibility status. (inherited from Entity).
Public method Static GlobalApproximation(IList<Point3D>, int, double) Global approximation of a curve bounded to a certain error.
Public method Static GlobalInterpolation(IList<Point3D>, int) Global curve interpolation.
Protected method InitGraphicsData()
Public method InsertKnot(Point3D, int) Inserts a knot a number of times. It is added at the parameter corresponding to the projection of the given point on the curve. The insertion does not affect the shape of the curve.
Public method InsertKnot(double, int) Inserts a knot a number of times. It does not affect the shape of the curve.
Internal protected (Protected Friend) method Static InsideFrustumPoint(PlaneEquation[], Transformation, IList<Point3D>, int) (inherited from Entity).
Internal protected (Protected Friend) method InsideOrCrossingFrustum(FrustumParams) (inherited from Entity).
Internal protected (Protected Friend) method Static InsideOrCrossingFrustumInternal(PlaneEquation[], Transformation, IList<Point3D>, int, int) (inherited from Entity).
Internal protected (Protected Friend) method InsideOrCrossingScreenPolygon(ScreenPolygonParams) (inherited from Entity).
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 IntersectWith(ICurve, bool)
Public method IntersectWith(Plane, double) Trims the curve at the limit point projection.
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 IsInPlane(Plane, double) Checks if the curve lays on the specified plane.
Public method IsLinear(double, out Segment3D) Test a curve to see if the locus of its points is a line segment.
Public method IsPlanar(double, out Plane) Checks if the curve 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 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 Static LeastSquares(IList<Point3D>, int, int) Least squares curve approximation.
Public method Length() Gets the curve length.
Public method Static LocalApproximation(IList<Point3D>, double, out Vector3D[], bool) Local cubic approximation of a curve bounded to a certain error.
Public method Static LocalApproximation(IList<PointTangent>, double) Local cubic approximation of a curve bounded to a certain error.
Public method Static LocalInterpolation(IList<Point3D>, bool, bool) Local interpolation.
Public method Static LocalInterpolation(IList<PointTangent>) Local interpolation.
Protected method MemberwiseClone (inherited from Object).
Public method Static Merge(ICurve, ICurve) Joins two curves.
Public method Static Merge(IList<ICurve>) Joins a list of curves. Curves must be properly oriented.
Public method Static Merge(IList<ICurve>, bool) Joins a list of curves. Curves must be properly oriented.
Public method Static MinimumDistance(Curve, Curve, double, bool, ref double, ref double, out double) Computes the minimum distance between two curves.
Public method Static MinimumDistance(Curve, Curve, double, ref double, ref double, out double) Computes the minimum distance between two curves.
Public method NormalAt(double) Computes the curve normal at parametric value u.
Public method Offset(double, Vector3D)
Public method Offset(double, Vector3D, double, bool)
Public method OffsetToRegion(double, double, bool)
Public method PointAt(double) Computes the curve point at parametric value u.
Public method Project(Point3D, double, bool, double, out double) Projects a point on the curve.
Public method Project(Point3D, double, bool, out double) Projects a point on the curve.
Public method Project(Point3D, out double)
Public method ProjectOn(Plane) Project this curve on the specified plane.
Public method Promote() Converts this generic curve to Line, Arc or Circle (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 RefineKnotVector(double[]) Refines the curve knot vector.
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 RemoveKnot(int, int, int) Removes an internal knot from a curve.
Public method RemoveKnot(int, int, int, double) Removes an internal knot from a curve.
Public method RemoveKnots(double) Removes as many knots as possible from a curve.
Internal protected (Protected Friend) method Render(RenderParams) Renders the entity. (inherited from Entity).
Internal protected (Protected Friend) method RenderFast(RenderParams) Renders the entity in fast inaccurate transparency mode. (inherited from Entity).
Public method Resize(int, int) Resizes a curve.
Public method ResizeKeep(int, int) Resizes a curve, keeping original values.
Public method Reverse() Reverses the curve direction.
Public method RevolveAsBrep(double, double, Line, double)
Public method RevolveAsBrep(double, double, Point3D, Point3D, double)
Public method RevolveAsBrep(double, double, Vector3D, Point3D, double)
Public method RevolveAsMesh(double, double, Point3D, Point3D, int, double, natureType)
Public method RevolveAsMesh(double, double, Vector3D, Point3D, int, double, natureType)
Public method RevolveAsMesh<T>(double, double, Point3D, Point3D, int, double, natureType)
Public method RevolveAsMesh<T>(double, double, Vector3D, Point3D, int, double, natureType)
Public method RevolveAsSolid(double, double, Point3D, Point3D, int, double)
Public method RevolveAsSolid(double, double, Vector3D, Point3D, int, double)
Public method RevolveAsSurface(double, double, Line)
Public method RevolveAsSurface(double, double, Point3D, Point3D)
Public method RevolveAsSurface(double, double, Vector3D, Point3D)
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 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).
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(DrawParams) (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. (inherited from Entity).
Public method SetVisibility(bool, Stack<BlockReference>) Sets the entity visibility status. (inherited from Entity).
Public method SplitAt(double, out ICurve, out ICurve) Splits the curve into two curves.
Public method SplitAtDiscontinuities(bool) Splits the curve at derivative discontinuities (e.g. cusps, kinks), returns an array of the smooth segments that form the curve.
Public method SplitBy(IList<Point3D>, out ICurve[])
Public method SplitBy(Point3D, out ICurve, out ICurve)
Public method SubCurve(Point3D, Point3D, out ICurve)
Public method SubCurve(double, double, out ICurve)
Public method SweepAsBrep(ICurve, double, sweepMethodType)
Public method SweepAsBrep(ICurve, double, bool, sweepMethodType)
Public method SweepAsMesh(ICurve, double, sweepMethodType, natureType)
Public method SweepAsMesh(ICurve, double, bool, sweepMethodType, natureType)
Public method SweepAsMesh<T>(ICurve, double, sweepMethodType, natureType)
Public method SweepAsMesh<T>(ICurve, double, bool, sweepMethodType, natureType)
Public method SweepAsSolid(ICurve, double, sweepMethodType)
Public method SweepAsSolid(ICurve, double, bool, sweepMethodType)
Public method SweepAsSurface(ICurve, double, sweepMethodType)
Public method TangentAt(double) Evaluates unit tangent vector at a parameter.
Internal protected (Protected Friend) method ThroughTriangle(FrustumParams) (inherited from Entity).
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) (inherited from Entity).
Protected method Static ThroughTriangleScreenPolygon(Point3D, Point3D, Point3D, ScreenPolygonParams) Checks whether a triangle intersects or is inside a 2D screen polygon. (inherited from Entity).
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()
Internal protected (Protected Friend) method TransformAllVertices(Transformation, bool, bool) (inherited from Entity).
Internal protected (Protected Friend) method TransformAllVerticesRecursive(Transformation) (inherited from Entity).
Public method TransformBy(Transformation) Transforms all the entity's vertices by the specified transformation. (inherited from Entity).
Public method Translate(double, double, double) Translates the entity. (inherited from Entity).
Public method Translate(Vector3D) Translates the entity. (inherited from Entity).
Public method Static Trim(ICurve, ICurve, bool, bool) Trims two intersecting curves.
Public method TrimAt(double, bool) Trims the curve at the provided parametric value.
Public method TrimBy(Plane, double, bool) Trims the curve at the limit point projection.
Public method TrimBy(Point3D, bool) Trims the curve at the limit point projection.
Public method TryGetArc(out Circle) Converts this generic curve to Arc or Circle (when possible).
Public method TryGetLine(out Line) Converts this generic curve to Line (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 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 WriteCSharp(TextWriter, int)
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).
Top
Events
 
Name Description
Public event VisibleChanged Occurs when the Visible changes. (inherited from Entity).
Top
Fields
 
Name Description
Protected field _localOB (inherited from Entity).
Internal protected (Protected Friend) field drawData Default graphics data. (inherited from Entity).
Internal protected (Protected Friend) field drawPattern Graphics data for line pattern. (inherited from Entity).
Protected field seam Curve seam.
Top

.NET Framework

Supported in: 4.7.2

In this article

Definition