|
|
@ -267,7 +267,7 @@ export class Polyline extends Curve
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
GetPointAtParam(param: number): Vector3
|
|
|
|
GetPointAtParam(param: number): Vector3
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (param === Math.floor(param))
|
|
|
|
if (param === Math.floor(param) && this.ParamOnCurve(param))
|
|
|
|
return Vec2DTo3D(this.GetPoint2dAt(FixIndex(param, this.NumberOfVertices))).applyMatrix4(this.OCS);
|
|
|
|
return Vec2DTo3D(this.GetPoint2dAt(FixIndex(param, this.NumberOfVertices))).applyMatrix4(this.OCS);
|
|
|
|
let cu: Curve = this.GetCurveAtParam(param);
|
|
|
|
let cu: Curve = this.GetCurveAtParam(param);
|
|
|
|
if (cu)
|
|
|
|
if (cu)
|
|
|
|