Class CadApiSketchFaceHelper
Inheritance
CadApiSketchFaceHelper
Assembly: CADIPC.DotnetHelper.dll
Syntax
public static class CadApiSketchFaceHelper
Methods
Area(ComWrapper<ICadIpcSketchFace>)
Signed planar area of the face in the sketch coordinate system.
Declaration
public static double Area(this ComWrapper<ICadIpcSketchFace> faceCom)
Parameters
Returns
BaseZ(ComWrapper<ICadIpcSketchFace>)
Z coordinate of the face within the sketch's local coordinate system.
Declaration
public static double BaseZ(this ComWrapper<ICadIpcSketchFace> faceCom)
Parameters
Returns
EnumerateSegments(ComWrapper<ICadIpcSketchFace>)
Enumerate segments. Dispose each returned wrapper and keep the geometry unchanged while enumerating.
Declaration
public static IEnumerable<ComWrapper<ICadIpcSegment>> EnumerateSegments(this ComWrapper<ICadIpcSketchFace> owner)
Parameters
Returns
Segment(ComWrapper<ICadIpcSketchFace>, int)
Return the segment at the given zero-based index.
Declaration
public static ComWrapper<ICadIpcSegment> Segment(this ComWrapper<ICadIpcSketchFace> owner, int index)
Parameters
Returns
SegmentCount(ComWrapper<ICadIpcSketchFace>)
Number of segments exposed by CADAPI; construction points are excluded.
Declaration
public static int SegmentCount(this ComWrapper<ICadIpcSketchFace> owner)
Parameters
Returns