DGKC Control Documentation


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


IAxiBase Interface

GetCrossPosition
SetCrossPosition
GetCount
GetKnotValue
SetKnotValue

IAxiBase interface allows modification of array of Base Knots and the current Cross-section position (current z-axis position) in the object. Changing of a knot position will make the object stretched or contracted. 

Note that IAxiBase does not allow deleting or inserting knots into the Axial Base. To insert a new knot into the Base obtain IArrayDouble_DG interface from IAxiBase and call its InsertAt method.

(See also StripTopol programming sample).

Obtaining IArrayDouble_DG managing Axial Base knots via IEntity_DG->IAxiBase->IArrayDouble_DG is a context-dependent query. It means that between two steps IEntity_DG->IAxiBase and IAxiBase->IArrayDouble_DG there must not be any other queries from the IEntity_DG interface.

See also Patch Tutorial, MiniCAD Sample, Interface List.


double GetCrossPosition()

Returns current cross position.


void SetCrossPosition(double z)

Use this function to set current cross position, so that following parameters modifications will be made in cross plane at z position.

int GetCount()

Call to determine number of knots in the base.


double GetKnotValue(int knot)

Call this method to obtain position of a particular knot in the base.

void SetKnotValue(int knot, double z)

Call this method to set position of a particular knot in the base. To be valid, z must be such that resulting array is increasing and none of the knot values coincide with each other. Between two calls for this method, which implemented by the same object (it was obtained from the same IEntity_DG interface), there should be a call for UpdateSurface method of DG Kernel control or call for Update method of IModel_DG interface.