IsParameterOnSurface - Python 不支持

Verifies that a parameter space point is on a trimmed surface, or not on the trimmed portion of a surface.

语法

Rhino.IsParameterOnSurface (strObject, arrParameter)

参数

strObject

Required.字符串。The object's identifier.

arrParameter

Required.Array.An array containing the U,V parameter to evaluate.

返回值

Boolean

True if successful, otherwise False.

Null

On error.

示例

Dim strObject, arrPoint, arrDomU, arrDomV

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

If Rhino.IsSurface(strObject) Then

  arrDomU = Rhino.surfacedomain(strObject, 0)

  arrDomV = Rhino.surfacedomain(strObject, 1)

  If Rhino.IsParameterOnSurface(strObject, Array(arrDomU(0), arrDomV(0))) Then

    Rhino.Print "The parameter space point is on the surface."

  Else

    Rhino.Print "The parameter space point is not on the surface."

  End If

End If

同见

IsPointInSurface

IsPointOnSurface