Copyright © 2021 by K4.org
  (v.0.48.124)

The rendering support for Extrusion.

Index

Rules

__mod3

__mod3: String

Internal Use Only.

Flags : Cached, External (Note this is uncached)

Expression : R.THREE.makeExtrusion(this.renderName,this.profile.__pm3, this.adjHeight, this.profile.inverseFrame.get3())

adjHeight

adjHeight: Number

This corrects the height supplied to three.js in case of a requested normal which is opposite to the profile normal.

Flags : Cached (Note this is uncached)

Expression : this.height * (this.normal.unitize().same(this.profile.planeNormal) ? 1 : -1)

cg

cg: Point

The approximated center of volume of the body or bodies.

Flags : Cached (Note this is uncached)

Expression : const cog = new Point(this.volumeProperties.cg); //The following is not always correct return cog.xform(this.transform);

meshData

meshData: Any

Untransformed geometry definition data

Flags : Cached (Note this is uncached)

Expression : return R.THREE.getMeshData(this.__pm3);

volume

volume: Number

The approximated volume of the extrusion.

Flags : Cached (Note this is uncached)

Expression : Math.abs(this.volumeProperties.volume)

volumeProperties

volumeProperties: Any

Untransformed volume properties.

Flags : Cached (Note this is uncached)

Expression : R.THREE.volumeProps(this.meshData);