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 ViewsViews
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 > Movement > Collision Detection > IMetrics_DG Go to ActiveX docs Search Documentation


IMetrics_DG Interface

DistPoint
Dist
Dist1
IsCloserThan
GetDimensions
GetLocalDimensions
GetPointLocation
GetSize

double DistPoint(PointDg point, PointDg pointNearest)


double Dist(IMetrics_DG metricObjectOther, PointDg pointThis, PointDg pointOther)


double Dist1(IMetrics_DG metricObjectOther, MetrDistContext_DG context, IMapUnkn_DG nearestThisToOtherMap)


bool IsCloserThan(IMetrics_DG metricObjectOther, double distance, MetrIsCloserThanContext_DG context)


BoxDg GetDimensions()

Axis-aligned bounding box of the object


BoxDg GetLocalDimensions(BoxDg localBox)


int GetPointLocation(PointDg pt)


double GetSize()

Maximal dimension of the bounding box returned by the GetDimensions()