Class FaceHelper
Assembly: CAMIPC.DotnetHelper.dll
Syntax
public static class FaceHelper
Methods
GetCone(ComWrapper<ICamIpcFace>, out TST3DPoint, out TST3DPoint, out double, out double)
If the face is conical, return its apex, axis, base radius and half-angle
Declaration
public static bool GetCone(this ComWrapper<ICamIpcFace> faceCom, out TST3DPoint center, out TST3DPoint axis, out double radius, out double halfAngle)
Parameters
Returns
GetCylinder(ComWrapper<ICamIpcFace>, out TST3DPoint, out TST3DPoint, out double)
If the face is cylindrical, return its axis and radius
Declaration
public static bool GetCylinder(this ComWrapper<ICamIpcFace> faceCom, out TST3DPoint center, out TST3DPoint axis, out double radius)
Parameters
Returns
GetLoops(ComWrapper<ICamIpcFace>)
List all loops of the face
Declaration
public static IEnumerable<ComWrapper<ICamIpcLoop>> GetLoops(this ComWrapper<ICamIpcFace> faceCom)
Parameters
Returns
GetMaxCurvatureRadius(ComWrapper<ICamIpcFace>, double)
Maximum radius of curvature of the iso-parametric curves sampled over the face.
Returns MaxFloat when no finite curved direction was found
Declaration
public static double GetMaxCurvatureRadius(this ComWrapper<ICamIpcFace> faceCom, double tol)
Parameters
Returns
GetMinCurvatureRadius(ComWrapper<ICamIpcFace>, double)
Minimum radius of curvature over the face. Returns MaxFloat for a planar face
Declaration
public static double GetMinCurvatureRadius(this ComWrapper<ICamIpcFace> faceCom, double tol)
Parameters
Returns
GetPlane(ComWrapper<ICamIpcFace>, out TST3DPoint, out TST3DPoint)
If the face is planar, return the plane origin and unit normal
Declaration
public static bool GetPlane(this ComWrapper<ICamIpcFace> faceCom, out TST3DPoint origin, out TST3DPoint normal)
Parameters
Returns
SurfaceKind(ComWrapper<ICamIpcFace>)
Classified analytic kind of the underlying surface
Declaration
public static TCamIpcSurfaceKind SurfaceKind(this ComWrapper<ICamIpcFace> faceCom)
Parameters
Returns