PointScale

Scales a 3-D point.

Syntax

rhinoscriptsyntax.PointScale (point, scale)

rhinoscript.pointvector.PointScale (point, scale)

Parameters

point

Required.  List of 3 numbers or Point3d.  The 3-D point to scale.

scale

Required.  Number.  The scale factor to apply.

Returns

Point3d

The resulting 3-D point if successful.

None

On error.

Example

import rhinoscriptsyntax as rs

point = rs.PointScale([1,0,0], 5)

print point

Also See

PointAdd

PointCompare

PointDivide

PointSubtract

PointTransform