EllipseCenterPoint

Returns the center point of an elliptical-shaped curve object.

Syntax

rhinoscriptsyntax.EllipseCenterPoint ( curve_id )

rhinoscript.curve.EllipseCenterPoint ( curve_id )

Parameters

curve_id

Required.  String or Guid.  The object's identifier.

Returns

Point3d

The 3-D center point of the ellipse if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

obj = rs.GetObject("Select ellipse")

if rs.IsEllipse(obj):

    point = rs.EllipseCenterPoint(obj)

    rs.AddPoint( point )

Also See

IsEllipse

EllipseQuadPoints