Class PointSnapperHelper
Inheritance
PointSnapperHelper
Assembly: CAMAPI.DotnetHelper.dll
Syntax
public static class PointSnapperHelper
Methods
CreateFaceList(ComWrapper<ICamApiPointSnapper>)
Create an empty mutable face list builder
Declaration
public static ComWrapper<ICamApiFaceListBuilder> CreateFaceList(this ComWrapper<ICamApiPointSnapper> snapperCom)
Parameters
Returns
CreatePointList(ComWrapper<ICamApiPointSnapper>)
Create an empty mutable point list
Declaration
public static ComWrapper<ICamApiPoint3DList> CreatePointList(this ComWrapper<ICamApiPointSnapper> snapperCom)
Parameters
Returns
FindNearestOnFaces(ComWrapper<ICamApiPointSnapper>, ComWrapper<ICamApiFaceList>, ComWrapper<ICamApiPoint3DList>, double)
For each point in measuredPoints find the nearest point on any face
in faces. Returns a plain array of the same length where result[i] is
the closest surface position to measuredPoints[i] (correspondence is by index).
Throws on error.
Declaration
public static TST3DPoint[] FindNearestOnFaces(this ComWrapper<ICamApiPointSnapper> snapperCom, ComWrapper<ICamApiFaceList> faces, ComWrapper<ICamApiPoint3DList> measuredPoints, double tolerance)
Parameters
Returns
FindNearestOnFacesRaw(ComWrapper<ICamApiPointSnapper>, ComWrapper<ICamApiFaceList>, ComWrapper<ICamApiPoint3DList>, double)
For each point in measuredPoints find the nearest point on any face
in faces. Returns the result as a COM wrapper — caller owns the lifetime.
result[i] corresponds to measuredPoints[i] (correspondence is by index).
Throws on error.
Declaration
public static ComWrapper<ICamApiPoint3DList> FindNearestOnFacesRaw(this ComWrapper<ICamApiPointSnapper> snapperCom, ComWrapper<ICamApiFaceList> faces, ComWrapper<ICamApiPoint3DList> measuredPoints, double tolerance)
Parameters
Returns
GetSingleton()
Resolves the ICamApiPointSnapper singleton extension.
Centralises the singleton lookup so callers do not need a direct reference
to CAMAPI.TechSolvers.
Declaration
public static ComWrapper<ICamApiPointSnapper> GetSingleton()
Returns