Search Results for

    Show / Hide Table of Contents

    Method FindNearestPointToPoint

    FindNearestPointToPoint(ElementId, Point3D, out ElementItemId, out double, out double, out bool)

    Finds the nearest point on a shape to a specified reference point.

    Declaration
    [OperationContract]
    [AvailableSinceVersion(7, 10, 300, 60)]
    Point3D FindNearestPointToPoint(ElementId inElementId, Point3D inPoint, out ElementItemId outItemId, out double outU, out double outV, out bool outIsInside)
    Parameters
    Type Name Description
    ElementId inElementId

    Identifier of the shape entity to analyze.

    Point3D inPoint

    Reference point.

    ElementItemId outItemId

    Identifier of the item of the shape where the nearest point is found (face, edge or vertex as defined by outItemId.ItemType).

    double outU

    Edge parameter of face U-parameter.

    double outV

    Face V-parameter.

    bool outIsInside

    Whether the reference point is inside the shape.

    Returns
    Type Description
    Point3D

    Nearest point on shape to the specified reference point.

    Remarks

    This method is available since v7.10.300.60.

    In this article
    Back to top
    • Term of use
    • Corporate information
    • Privacy Policy - GDPR

    Copyright ©2025 TopSolid - All rights reserved.