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
Expand General GeometryGeneral Geometry
Collapse 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 > Model > Entities > Geometry > BSpline BRep Geometry > Advanced Algorithms > IFeaturePrism_DG Go to ActiveX docs Search Documentation


IBRepFeaturePrism_DG Interface

Init
Add
Perform
Perform
Perform
PerformUntilEnd
PerformFromEnd
PerformThruAll
PerformUntilHeight

Describes functions to build prism features. These can be depressions or protrusions. The semantics of prism feature creation is based on the construction of shapes:

  • Along a length
  • Up to a limiting face
  • From a limiting face to a height. The shape defining construction of the prism feature can be either the supporting edge or the concerned area of a face. In case of the supporting edge, this contour can be attached to a face of the basis shape by binding. When the contour is bound to this face, the information that the contour will slide on the face becomes available to the relevant class methods. In case of the concerned area of a face, you could, for example, cut it out and move it to a different height which will define the limiting face of a protrusion or depression.

The shape workpiece provided in the Init() call will be modified in place on a Perform() call.

Use IObjectGenerator_DG.Create<IBRepFeaturePrism_DG>() call to construct the feature prism object.


void Init(IBRepGeometry_DG workpiece, IBRepShape_DG shapeBase, IBRepFace_DG sketchFace, VectDg offset, bool fuse)

Sets up building a prizm by extruding or protruding shapeBase on face sketchFace of workpiece. The operation will be excuted on one of Perform*() calls.


void Add(IBRepEdge_DG edge, IBRepFace_DG faceAlong)


void Perform(double length)

Builds a prizm of the specified length.


void Perform(IBRepShape_DG shapeUntil)

Builds a prizm of the (variable) length up to face shapeUntil.


void Perform(IBRepShape_DG shapeFrom, IBRepShape_DG shapeUntil)

Builds a prizm of the (variable) length from face shapeFrom to face shapeUntil.


void PerformUntilEnd()


void PerformFromEnd(IBRepShape_DG faceUntil)


void PerformThruAll()


void PerformUntilHeight(IBRepShape_DG shapeUntil, double length)