• Preparing search index...
  • The search index is not available
RealDWG-Web
  • RealDWG-Web
  • @mlightcad/geometry-engine
  • offsetPointByDirectionInXY

Function offsetPointByDirectionInXY

  • offsetPointByDirectionInXY(
        point: AcGeVector3dLike,
        direction: AcGeVector3dLike,
        offsetDist: number,
    ): AcGePoint3d | null
  • Offsets a point perpendicular to the XY projection of a direction vector.

    Parameters

    • point: AcGeVector3dLike

      Base point to translate

    • direction: AcGeVector3dLike

      Direction whose XY component defines the offset normal

    • offsetDist: number

      Signed offset distance in drawing units

    Returns AcGePoint3d | null

    Translated point, or null when the XY direction is degenerate

    • Defined in util/AcGeCurveOffsetUtil.ts:18

Settings

Member Visibility
RealDWG-Web
  • Loading...

Generated using TypeDoc