DG Kernel Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
Overview of the software
What is new
Licensing
Expand ModelsModels
Expand DG Kernel ComponentsDG Kernel Components
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
Open Source
Support
Skip Navigation LinksHome Page > API Reference > Model > Entities > Geometry > BSpline BRep Geometry > Advanced Algorithms > IBRepChamfer_DG Search Documentation


IBRepChamfer_DG Interface

BuildAll
Init
Add
Add1
Add2
Build

An algorithm interface which replaces specified edges of the shape (normaly a solid) specified in BuildAll() or Init() with chamfers.

IBRepChamfer_DG can be obtained via a call to IObjectGenerator_DG.Create("BRepChamfer_DG");

Use BuildAll() to build chamfers for all edges in the shape in one call.

Use Init(); Add*();...Add*(); Build(); sequence to specify the edges and distance parameters.

See BuildChamfer() method in Solids sample for an example.


IBRepShape_DG BuildAll(IBRepShape_DG shape, double distance)

Builds chamfers of the same distance on all edges of the shape. No other calls are required


void Init(IBRepShape_DG shape)

Specifies the shape to be modified


void Add(double distance, IBRepEdge_DG edge)


void Add1(double distanceLeft, double distanceRight, IBRepEdge_DG edge)


void Add2(double distance, double angle, IBRepEdge_DG edge)

angle is expected in radians.


IBRepShape_DG Build()