Bitbybit Docs
    Bereite Suchindex vor...

    Klasse DecomposedEdgeDto (Inputs.OCCT)

    One edge inside a DecomposedMeshDto: the points that trace it for drawing, plus optional facts about the edge when computeMetadata was set.

    Index

    Konstruktoren

    Eigenschaften

    edgeIndex: number

    The position of the edge in the shape, counting from 0 in the order shapes.edge.getEdges uses.

    middlePoint: Point3

    A point halfway along the edge's parameter range.

    vertexCoord: Vector3[]

    The points that trace the edge, in order, close enough to draw it as a polyline.

    length?: number

    The length of the edge in model units; present only with computeMetadata.

    true

    centerOfMass?: Point3

    The center of mass of the edge; present only with computeMetadata.

    true

    curveType?: string

    The kind of curve the edge follows, such as Line, Circle or BSplineCurve; present only with computeMetadata.

    true

    degenerated?: boolean

    True when the edge has no 3D curve, such as the seam at the pole of a sphere; present only with computeMetadata.

    true

    incidentFaces?: number[]

    The indexes of the faces this edge belongs to; present only with computeMetadata.

    true

    edgeUid?: number

    The edge's stable id in the shape's graph, or -1 when unavailable; present only with computeMetadata.

    true