DGKC Control Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
What is new
Licensing
Expand ModelsModels
Expand DG Kernel ControlDG Kernel Control
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Collapse General GeometryGeneral Geometry
Expand ModelModel
Expand ViewView
Expand General ComputingGeneral Computing
Expand Samples and TutorialsSamples and Tutorials
Expand GraphicsGraphics
Expand Math ObjectsMath Objects
Expand DeprecatedDeprecated
Redistribution
Model Viewer
Support
Skip Navigation LinksHome Page > API Reference > General Geometry > Curves > ICurveFreeForm_DG Go to ActiveX docs Search Documentation


ICurveFreeForm_DG Interface

The interface is implemented by Free-form curves.

A standalone free-form curve can be created with a IObjectGenerator_DG.Create<CurveFreeForm>() call.

Properties

int InterpolationDegree

Methods

GetData
Extend
ConstructFilletedLineStrip
ConstructFilletedLineStrip1

IPointArray_DG GetData()

The method returns array of points, which defines geometry of the curve


void Extend(ICurveFreeForm_DG curve)

Appends curve to this. Duplicated point, if created, is removed


IArcSpline3DCurve_DG ConstructFilletedLineStrip(double radius)

The interface is implemented by Free-form curves. Assuming that the free form curve is considered as a sequence of segments, methods of the interface create a new arc spline curve, fit into original segment strip so that internal sharp corners are replaced with arcs of specified radius. In other words the method smoothes-out joints of the segment strip. 

The method creates new curve fit into the original segment strip.


IArcSpline3DCurve_DG ConstructFilletedLineStrip1(IArrayDouble_DG radii)

The method creates new curve fit into the original segment strip. See remarks for the interface above. Radii can be different for different joins of the segment strip. Radius 0 from the provided array will be used for the arc between segment [0,1] and [1,2]. If the array has size 1 the first radius will be used for all joints. If there is more that one element in the array its size must be at least n-2, where n is number of points, including ends, in the original segment strip