Home Page > Programming Samples and Tutorials > Overview > Profile
Profile Sample Description
Profile Sample
Profile is a form based application, which demonstrates
usage of IProfiles interface for modification of
axial profiles of lines and surface patches.
See also C# Profile Sample,
Visual C++ Samples,
Running the application
The Element radio buttons allow to selection of an element in the surface
strip, which is of a simplest kind in this case. It consists of a single patch
and its two left and right edges.
Parameters group allow selecting a parameter in the current element.
Parameters of an edge are x and y coordinates (coordinates in cross-section).
The patch element has a single parameter - its curvature.
Profile group of controls allows selection of an axial knot and modification
of the profile of the current parameter at the selected knot. "Add
New" button creates new knot in the middle of the current axial segment
(segment between the current and the next knot).
"Current Axial Segment" group allows changing type of the current
axial element in the profile and changing its curvature. Note that
curvature can be negative.
Note that changing axial element type and adding a new knot are topological
operations. They are available in Pro level products only, otherwise the
correspondent interfaces will not be obtained and relevant controls in the
dialog will be disabled.
Implementation
Please select your language:
C#
C++
|