Returns surface area of the Profile.
Flags : Cached (Note this is uncached)
Expression : this.areaProps.area
Returns { area: <number>, centroid: <Point> }
Flags : Cached (Note this is uncached)
Expression : R.THREE.areaProps(this.meshData)
An array of CurveTo objects. It recommended that they be connected in a counter-clockwise (about the +Z axis) direction.
Flags : Cached, Parameter (Note this is uncached)
Expression : R.polygonToCurveTo(this.boundary2d)
Internal Use Only.
Flags : Cached (Note this is uncached)
Expression : this.boundaryPolygon.map(p => p.xform(this.boundaryTransform))
The Plane defined by the given points.
Flags : Cached (Note this is uncached)
Expression : R.makePlane(this.polygon.boundary[0], this.planeNormal)
An array of co-planar Points. It recommended that they be connected in a counter-clockwise (about the +Z axis) direction.
Flags : Cached, Parameter (Note this is uncached)
Expression : []
A transform that will convert points to 'profile space'.
Flags : Cached (Note this is uncached)
Expression : this.boundaryPolygon.length > 1 ? this.boundaryPlane.getFlattener(this.boundaryPolygon[0]) : makeFrame()
Returns 3D center of area of the Profile.
Flags : Cached (Note this is uncached)
Expression : new Point(this.areaProps.centroid)
An array of arrays of co-planar Points. It recommended that they be connected in a clockwise (about the +Z axis) direction.
Flags : Cached, Parameter (Note this is uncached)
Expression : []
An array of arrays of CurveTo objects. It recommended that they be connected in a clockwise (about the +Z axis) direction.
Flags : Cached, Parameter (Note this is uncached)
Expression : this.holes2d.map(h => R.polygonToCurveTo(h))
Internal Use Only.
Flags : Cached (Note this is uncached)
Expression : this.holePolygons.map(h => h.map(p => p.xform(this.boundaryTransform)))
Internal Use Only.
Flags : Method (Note this is uncached)
Expression : return function(verts) {const inv = this.nha.transform.getInverse(); return verts.map(v=>v.xform(inv)); };
The vector normal to the profile.
Flags : Cached (Note this is uncached)
Expression : this.polygon.normal
Returns the polygon corresponding to this Profile.
Flags : Cached (Note this is uncached)
Expression : if (this.boundaryPolygon.length>0) return new Polygon(this.boundaryPolygon, this.holePolygons); return new Polygon(R.THREE.pointsFromCurveTo(this.boundary), this.holes.map(h => R.THREE.pointsFromCurveTo(h)));
Profile (d.1.0)
Mixins: ProfileRenderMixin, BaseAssembly
[[include:profile_design.md]]