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


MetrIsCloserThanContext Structure

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

typedef struct MetrIsCloserThanContext_
{
    VARIANT_BOOL includeChildren;
    VARIANT_BOOL further;
    VARIANT_BOOL quickCheck;
} MetrIsCloserThanContext;

 

Members:

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

further                         Solve the opposite problem: Return true if any two points of the two objects are at distance greater than the supplied value. Default is false

quickCheck                 If true only vertices of the surface mesh are used in the check. Default: false