IGeom3DSurface::ClosestPoint

Description

This method gets a point and returns a point that lies on a given face that is closest to a given point and also returns a normal to a face from a received point on a face.

Syntax

PointOnSurface = ClosestPoint( Point );

Input: (Variant) Point

Variant that contains double type one dimensional array of given point coordinates.

Return: (Variant) PointOnSurface

Variant that contains double type one dimensional array of six elements. First three elements are normal vector coordinates to face form received closest point, second three elements are coordinates of closest point on face.

Note

All coordinates are given relative to the model's main UCS.

Some functionality may be dependent on the product package. Contact your Reseller if you require a license.