internal virtual LinePointSegment CreateLinePointSegment() { // TODO: создайте экземпляр подходящего конкретного класса. LinePointSegment target = null; return(target); }
public void UpdatePoint(LinePointSegment lcp) { if ((lcp is LinePointSegmentSpline) & (lcp.vert != null)) { lcp.vert.q.CopyValue(Calc((lcp as LinePointSegmentSpline).t)); } }
public void UpdatePoint(LinePointSegment lcp) { if (lcp is LinePointSegmentSpline) { lcp.vert.q.CopyValue(Calc(phi, (lcp as LinePointSegmentSpline).t)); } }
public void UpdatePoint(LinePointSegment lcp) { if (lcp is LinePointSegmentSpline) { double phi = Math.PI * (lcp as LinePointSegmentSpline).t; double x = Math.Cos(phi); double y = Math.Sin(phi); double z = 0.0; lcp.vert.q.CopyValue(Vector.Create3D(x, y, z)); } }