Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • OCCTCurves

Index

Constructors

constructor

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

    • occWorkerManager: OCCTWorkerManager

    Returns OCCTCurves

Methods

geom2dEllipse

  • Creates a 2d ellipse. Be sure to use this geometry only for constructive purposes of modeling, but not for representation. You need to transform these curves to edges in order to draw them.

    group

    primitives

    shortname

    ellipse 2d

    Parameters

    Returns Promise<Geom2dCurvePointer>

    OpenCascade Geom2d_ellipse

geom2dSegment

  • Creates a trimmed 2d curve segment between two 2d points. This curve can't be drawn.

    group

    primitives

    shortname

    segment 2d

    Parameters

    Returns Promise<Geom2dCurvePointer>

    OpenCascade Geom2d_Segment

geom2dTrimmedCurve

  • Creates a trimmed curve from the basis curve limited between U1 and U2. This curve can't be drawn.

    group

    create

    shortname

    trimmed 2d

    Parameters

    Returns Promise<Geom2dCurvePointer>

    OpenCascade Geom2d_TrimmedCurve

geomCircleCurve

  • Creates a circle geom curve

    group

    primitives

    shortname

    circle

    drawable

    false

    Parameters

    • inputs: CircleDto

      Axis information and radius

    Returns Promise<GeomCurvePointer>

    Opencascade Geom_Circle curve

geomEllipseCurve

  • Creates an ellipse geom curve

    group

    primitives

    shortname

    ellipse

    drawable

    false

    Parameters

    Returns Promise<GeomCurvePointer>

    Opencascade Geom_Ellipse curve

get2dPointFrom2dCurveOnParam

  • Gets 2d point represented by [number, number] on a curve at parameter.

    group

    get

    shortname

    2d point on curve

    Parameters

    Returns Promise<Point2>

    Point as array of 2 numbers

Generated using TypeDoc