Options
All
  • Public
  • Public/Protected
  • All
Menu
Logo of bit by bit developers

Class OCCTEdge

Hierarchy

  • OCCTEdge

Index

Constructors

constructor

  • new OCCTEdge(occWorkerManager: OCCTWorkerManager): OCCTEdge
  • Parameters

    • occWorkerManager: OCCTWorkerManager

    Returns OCCTEdge

Methods

arcFromCircleAndTwoAngles

  • Creates an arc edge between two alpha angles on a circle

    group

    primitives

    shortname

    arc from circle and angles

    drawable

    true

    Parameters

    Returns Promise<TopoDSEdgePointer>

    OpenCascade edge

arcFromCircleAndTwoPoints

  • Creates an arc edge between two points on a circle

    group

    primitives

    shortname

    arc from circle and points

    drawable

    true

    Parameters

    Returns Promise<TopoDSEdgePointer>

    OpenCascade edge

arcFromCirclePointAndAngle

  • Creates an arc edge between the point on a circle and a given alpha angle

    group

    primitives

    shortname

    arc from circle point and angle

    drawable

    true

    Parameters

    Returns Promise<TopoDSEdgePointer>

    OpenCascade edge

arcThroughThreePoints

  • Creates arc edge between three points

    group

    primitives

    shortname

    arc 3 points

    drawable

    true

    Parameters

    Returns Promise<TopoDSEdgePointer>

    OpenCascade edge

arcThroughTwoPointsAndTangent

  • Creates arc edge between two points given the tangent direction vector on first point.

    group

    primitives

    shortname

    arc 2 points tangent

    drawable

    true

    Parameters

    Returns Promise<TopoDSEdgePointer>

    OpenCascade edge

constraintTanLinesFromPtToCircle

constraintTanLinesFromTwoPtsToCircle

constraintTanLinesOnTwoCircles

createCircleEdge

  • Creates OpenCascade circle edge

    group

    primitives

    shortname

    circle

    drawable

    true

    Parameters

    Returns Promise<TopoDSEdgePointer>

    OpenCascade circle edge

createEllipseEdge

  • Creates OpenCascade ellipse edge

    group

    primitives

    shortname

    ellipse

    drawable

    true

    Parameters

    Returns Promise<TopoDSEdgePointer>

    OpenCascade ellipse edge

divideEdgeByEqualDistanceToPoints

  • Divides edge by length to points

    group

    extract

    shortname

    points by distance

    drawable

    true

    Parameters

    Returns Promise<Point3[]>

    Points

divideEdgeByParamsToPoints

  • Divides edge by params to points

    group

    extract

    shortname

    points by params

    drawable

    true

    Parameters

    Returns Promise<Point3[]>

    Points

edgesToPoints

  • Gets the points of all edges from a shape in separate lists for each edge

    group

    extract

    shortname

    edges to points

    drawable

    false

    Parameters

    Returns Promise<Point3[][]>

    OpenCascade points lists

endPointOnEdge

  • Gets the end point on edge

    group

    extract

    shortname

    end point

    drawable

    true

    Parameters

    Returns Promise<Point3>

    End point

getCircularEdgeCenterPoint

  • Gets the center point of the circular edge. If edge is not circular, point will not be returned.

    group

    get circular edge

    shortname

    get center of circular edge

    drawable

    true

    Parameters

    Returns Promise<Point3>

    Point representing center of the circular edge

getCircularEdgePlaneDirection

  • Gets the direction vector of the plane of the circular edge. If edge is not circular, direction vector will not be returned.

    group

    get circular edge

    shortname

    get plane direction of circular edge

    drawable

    true

    Parameters

    Returns Promise<Vector3>

    Direction vector of the circular edge

getCircularEdgeRadius

  • Gets the radius of the circular edge. If edge is not circular, radius will not be returned.

    group

    get circular edge

    shortname

    get radius of circular edge

    drawable

    false

    Parameters

    Returns Promise<number>

    Radius of the circular edge

getCircularEdgesAlongWire

  • Gets circular edges of a wire ordered along the direction of the wire

    group

    get

    shortname

    get circular edges along wire

    drawable

    true

    Parameters

    Returns Promise<TopoDSEdgePointer[]>

    OpenCascade edge list

getCornerPointsOfEdgesForShape

  • Gets corner points of edges for a shape. There's no order guarantee here. All duplicates are removed, so when three edges form one corner, that will be represented by a single point in the list.

    group

    get

    shortname

    corners

    drawable

    true

    Parameters

    Returns Promise<Point3[]>

    List of points

getEdge

  • Gets the edge by providing an index from the shape

    group

    get

    shortname

    get edge

    drawable

    true

    Parameters

    Returns Promise<TopoDSEdgePointer>

    OpenCascade edge

getEdgeCenterOfMass

  • Gets the center of mass for the edge

    group

    get

    shortname

    center of mass

    drawable

    true

    Parameters

    Returns Promise<Point3>

    Point representing center of mass

getEdgeLength

  • Gets the edge length

    group

    get

    shortname

    length

    drawable

    false

    Parameters

    Returns Promise<number>

    Length

getEdges

  • Gets the edges of a shape in a list

    group

    get

    shortname

    get edges

    drawable

    true

    Parameters

    Returns Promise<TopoDSEdgePointer[]>

    OpenCascade edge list

getEdgesAlongWire

  • Gets the edges of a wire ordered along the direction of the wire

    group

    get

    shortname

    get edges along wire

    drawable

    true

    Parameters

    Returns Promise<TopoDSEdgePointer[]>

    OpenCascade edge list

getEdgesCentersOfMass

  • Gets the centers of mass for the edges

    group

    get

    shortname

    centers of mass

    drawable

    true

    Parameters

    Returns Promise<Point3[]>

    Points representing centers of mass

getEdgesLengths

  • Gets the lengths of the edges

    group

    get

    shortname

    lengths

    drawable

    false

    Parameters

    Returns Promise<number[]>

    Lengths

getLinearEdgesAlongWire

  • Gets linear edges of a wire ordered along the direction of the wire

    group

    get

    shortname

    get linear edges along wire

    drawable

    true

    Parameters

    Returns Promise<TopoDSEdgePointer[]>

    OpenCascade edge list

line

  • Creates linear edge between two points

    group

    primitives

    shortname

    line

    drawable

    true

    Parameters

    • inputs: LineDto

      Two points between which edge should be created

    Returns Promise<TopoDSEdgePointer>

    OpenCascade edge

makeEdgeFromGeom2dCurveAndSurface

  • Creates an edge from geom curve and geom surface

    group

    from

    shortname

    2d curve and surface

    drawable

    true

    Parameters

    Returns Promise<TopoDSEdgePointer>

    OpenCascade TopoDS_Edge

pointOnEdgeAtLength

pointOnEdgeAtParam

removeInternalEdges

  • Removes internal faces for the shape

    group

    shapes

    shortname

    remove internal

    drawable

    true

    Parameters

    Returns Promise<TopoDSShapePointer>

    OpenCascade shape with no internal edges

reversedEdge

  • Computes reversed edge from input edge

    group

    get

    shortname

    reversed edge

    drawable

    true

    Parameters

    Returns Promise<TopoDSEdgePointer>

    OpenCascade edge

startPointOnEdge

  • Gets the start point on edge

    group

    extract

    shortname

    start point

    drawable

    true

    Parameters

    Returns Promise<Point3>

    Start point

tangentOnEdgeAtLength

  • Gets the tangent vector on edge at length

    group

    extract

    shortname

    tangent at length

    drawable

    true

    Parameters

    Returns Promise<Point3>

    Tangent vector on edge

tangentOnEdgeAtParam

  • Gets the tangent vector on edge at param

    group

    extract

    shortname

    tangent at param

    drawable

    true

    Parameters

    Returns Promise<Point3>

    Tangent vector on param

Generated using TypeDoc