PointScale



Your Ad Here

Scales a 3D point.

Syntax

Rhino.PointScale (arrPoint, dblScale)

Parameters

arrPoint

Required.  Array.  The 3D point to scale.

dblScale

Required.  Number.  The scale factor to apply.

Returns

Array

The resulting 3D point if successful.

Null

On error.

Example

Dim arrPoint

arrPoint = Rhino.PointScale(Array(1,0,0), 5)

Rhino.Print Rhino.Pt2Str(arrPoint)

Also See

PointAdd

PointCompare

PointDivide

PointSubtract

PointTransform

 

Return to Rhino Index


Your Ad Here