コード例 #1
0
ファイル: TestSnap.cs プロジェクト: unitycoder/Drawing3D
        public override Base GetBase()
        {
            xyzArray A = ModelMatrix * CurveArray.getxyArray().ToxyzArray();

            Base B = ModelMatrix.toBase();

            B.BaseO = Point;
            if (Lam >= 0)
            {
                xyz D = ModelMatrix * CurveArray.Direction(Lam).toXYZ() - ModelMatrix * new xyz(0, 0, 0);
                B = Base.DoComplete(Point, D, new xyz(0, 0, 1) & D);
            }
            return(B);
        }