ArcMidPoint

Returns the mid point of an arc curve object.

Syntax

rhinoscriptsyntax.ArcMidPoint (curve_id, segment_index=-1)

rhinoscript.curve.ArcMidPoint (curve_id, segment_index=-1)

Parameters

curve_id

Required.  String or Guid representing the identifier for the curve

segment_index

Optional. Number. If curve_id identifies a polycurve object, then segment_index identifies the curve segment of the polycurve to query.

Returns

Point3d

The 3-D mid point of the arc if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

id = rs.GetObject("Select arc")

if rs.IsArc(id):

    point = rs.ArcMidPoint(id)

    rs.AddPoint(point)

Also See

AddArc3Pt

ArcAngle

ArcCenterPoint

ArcRadius

IsArc