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


MetrDistContext Structure

MetrDistContext is used to pass additional parameters to IMetrics.Dist method if needed.

typedef struct MetrDistContext_
{
        VARIANT_BOOL includeChildren;            
        VARIANT_BOOL needAll;                        
        double tolerance;                                          
        double precision;                                          

} MetrDistContext;

 

Members:

includeChildren          Include children of the objects in search for nearest points. Default: false.


needAll                         Include points at distances between min and min+tolerance into the nearest set. Significantly affects performance. Default: false

tolerance                       Tolerance for the nearest set. Ignored if needAll is false. Default: 1e-10
 

precision                       Currently unused. Set equal to 1e-10 for forward compatibility