scale

fun scale(origin: Point, dx: Double, dy: Double, dz: Double): Point

Scale a point about a given origin.

Return

A new point scaled around origin.

Parameters

origin

The center of the scale operation.

dx

Scale factor for the x axis.

dy

Scale factor for the y axis.

dz

Scale factor for the z axis.


fun scale(origin: Point, dx: Double): Point

Uniform scale by dx relative to origin.


fun scale(origin: Point, dx: Double, dy: Double): Point

Scales X by dx and Y by dy relative to origin (Z unchanged).