DG Kernel Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
Overview of the software
What is new
Licensing
Collapse ModelsModels
Collapse DG Kernel ComponentsDG Kernel Components
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Collapse General GeometryGeneral Geometry
Collapse ModelModel
Collapse ViewView
Collapse General ComputingGeneral Computing
Collapse Samples and TutorialsSamples and Tutorials
Collapse GraphicsGraphics
Collapse Math ObjectsMath Objects
Collapse DeprecatedDeprecated
Redistribution
Model Viewer
Open Source
Support
Skip Navigation Links Search Documentation


IKO_BRepExtrema_DistShapeShape Interface


This class provides tools to compute minimum distance
between two Shapes (Compound,CompSolid, Solid, Shell, Face, Wire, Edge, Vertex).

To obtain this interface query DG Kernel > GetModel() > IModel > IDIObjGenerator > Create3("KO_BRepExtrema_DistShapeShape")

Query IKO_Standard_Object from this interface to create a copy or obtain the type name

See also Test_IKO_BRepExtrema_DistShapeShape() method in Metrics Sample

Methods

Init
Init1
Init2
SetDeflection
LoadS1
LoadS2
Perform
IsDone
NbSolution
Value
InnerSolution
PointOnShape1
PointOnShape2
SupportTypeShape1
SupportTypeShape2
SupportOnShape1
SupportOnShape2
ParOnEdgeS1
ParOnEdgeS2
ParOnFaceS1
ParOnFaceS2
SetFlag
SetAlgo

HRESULT Init()


HRESULT Init1(IKO_TopoDS_Shape* Shape1, IKO_TopoDS_Shape* Shape2, Extrema_ExtFlagKO F, Extrema_ExtAlgoKO A)


HRESULT Init2(IKO_TopoDS_Shape* Shape1, IKO_TopoDS_Shape* Shape2, double theDeflection, Extrema_ExtFlagKO F, Extrema_ExtAlgoKO A)


HRESULT SetDeflection(double theDeflection)


HRESULT LoadS1(IKO_TopoDS_Shape* Shape1)


HRESULT LoadS2(IKO_TopoDS_Shape* Shape1)


HRESULT Perform(VARIANT_BOOL* ret)


HRESULT IsDone(VARIANT_BOOL* ret)


HRESULT NbSolution(int* ret)


HRESULT Value(double* ret)


HRESULT InnerSolution(VARIANT_BOOL* ret)


HRESULT PointOnShape1(int N, DIPoint* ret)


HRESULT PointOnShape2(int N, DIPoint* ret)


HRESULT SupportTypeShape1(int N, BRepExtrema_SupportTypeKO* ret)


HRESULT SupportTypeShape2(int N, BRepExtrema_SupportTypeKO* ret)


HRESULT SupportOnShape1(int N, IKO_TopoDS_Shape** ret)


HRESULT SupportOnShape2(int N, IKO_TopoDS_Shape** ret)


HRESULT ParOnEdgeS1(int N, double* t)


HRESULT ParOnEdgeS2(int N, double* t)


HRESULT ParOnFaceS1(int N, double* u, double* v)


HRESULT ParOnFaceS2(int N, double* u, double* v)


HRESULT SetFlag(Extrema_ExtFlagKO F)


HRESULT SetAlgo(Extrema_ExtAlgoKO A)