/// <summary> /// Scales the Electrode a different amount in each axis /// </summary> /// <param name="scaleFactorX">Scale factor for the X axis</param> /// <param name="scaleFactorY">Scale factor for the Y axis</param> /// <param name="scaleFactorZ">Scale factor for the Z axis</param> /// <param name="lockX">Whether to use the X scale or not</param> /// <param name="lockY">Whether to use the Y scale or not</param> /// <param name="lockZ">Whether to use the Z scale or not</param> /// <param name="scaleOrigin">Origin for the scale operation</param> public void ScaleNonUniform( double scaleFactorX, double scaleFactorY, double scaleFactorZ, bool lockX, bool lockY, bool lockZ, Point scaleOrigin = null) { PSEntityScaler.ScaleNonUniform(this, scaleFactorX, scaleFactorY, scaleFactorZ, lockX, lockY, lockZ, scaleOrigin); }
/// <summary> /// Scales the Electrode to a projected volume /// </summary> /// <param name="newVolume">Volume to scale to</param> /// <param name="lockX">Whether to use the X scale or not</param> /// <param name="lockY">Whether to use the Y scale or not</param> /// <param name="lockZ">Whether to use the Z scale or not</param> /// <param name="scaleOrigin">Origin for the scale operation</param> public void ScaleProjectedVolume(double newVolume, bool lockX, bool lockY, bool lockZ, Point scaleOrigin = null) { PSEntityScaler.ScaleProjectedVolume(this, newVolume, lockX, lockY, lockZ, scaleOrigin); }
/// <summary> /// Scales curve by a single value. Axis can be locked to prevent scaling on that axis /// </summary> /// <param name="scaleFactor">Factor to scale by</param> /// <param name="lockX">Optionally locks X axis to prevent scaling</param> /// <param name="lockY">Optionally locks Y axis to prevent scaling</param> /// <param name="lockZ">Optionally locks Z axis to prevent scaling</param> /// <param name="scaleOrigin">Origin to scale round</param> /// <remarks></remarks> public void ScaleUniform(double scaleFactor, bool lockX, bool lockY, bool lockZ, Geometry.Point scaleOrigin = null) { PSEntityScaler.ScaleUniform(this, scaleFactor, lockX, lockY, lockZ, scaleOrigin); }