IsCircle

Verifies an object is a circle curve object or is a NURBS curve object that looks like a circle, within the document's absolute tolerance.

Syntax

Rhino.IsCircle (strObject)

Parameters

strObject

Required.  String.  The object's identifier.

Returns

Boolean

True if successful, otherwise False.

Null

On error.

Example

Dim strObject

strObject = Rhino.GetObject("Select a circle")

If Rhino.IsCircle(strObject) Then

Rhino.Print "The object is a circle."

Else

Rhino.Print "The object is not a circle."

End If

Also See

AddCircle

AddCircle3Pt

CircleCenterPoint

CircleCircumference

CircleRadius