public static Double GetLength(IMathVectorObject IMathVectorinstance)
 {
     return(IMathVectorinstance.IMathVectorInstance.GetLength());
 }
 public static Object Scale(IMathVectorObject IMathVectorinstance, Double ValueIn)
 {
     return(IMathVectorinstance.IMathVectorInstance.Scale(ValueIn));
 }
 public static IMathVectorObject IScale(IMathVectorObject IMathVectorinstance, Double ValueIn)
 {
     return(new IMathVectorObject(IMathVectorinstance.IMathVectorInstance.IScale(ValueIn)));
 }
 public static IMathVectorObject Normalise(IMathVectorObject IMathVectorinstance)
 {
     return(new IMathVectorObject(IMathVectorinstance.IMathVectorInstance.Normalise()));
 }
예제 #5
0
 //public static IMathVectorObject ICreateVector(IMathUtilityObject IMathUtilityinstance, Double& ArrayDataIn)
 //{
 //    return new IMathVectorObject(IMathUtilityinstance.IMathUtilityInstance.ICreateVector(ArrayDataIn));
 //}
 public static IMathTransformObject ComposeTransform(IMathUtilityObject IMathUtilityinstance, IMathVectorObject XVec, IMathVectorObject YVec, IMathVectorObject ZVec, IMathVectorObject TransVec, Double Scale)
 {
     return(new IMathTransformObject(IMathUtilityinstance.IMathUtilityInstance.ComposeTransform(XVec.IMathVectorInstance as MathVector, YVec.IMathVectorInstance as MathVector, ZVec.IMathVectorInstance as MathVector, TransVec.IMathVectorInstance as MathVector, Scale)));
 }
 public static Object Cross(IMathVectorObject IMathVectorinstance, Object VectorObjIn)
 {
     return(IMathVectorinstance.IMathVectorInstance.Cross(VectorObjIn));
 }
 public static Object ConvertToPoint(IMathVectorObject IMathVectorinstance)
 {
     return(IMathVectorinstance.IMathVectorInstance.ConvertToPoint());
 }
예제 #8
0
 //public static IMathVectorObject GetTorque(IMate2Object IMate2instance, Double& Angle)
 //{
 //    return new IMathVectorObject(IMate2instance.IMate2Instance.GetTorque(Angle));
 //}
 public static Boolean SetTorque(IMate2Object IMate2instance, Double Angle, IMathVectorObject Axis)
 {
     return(IMate2instance.IMate2Instance.SetTorque(Angle, Axis.IMathVectorInstance as MathVector));
 }
 public static double[] IArrayData(IMathVectorObject IMathVectorinstance)
 {
     return(IMathVectorinstance.IMathVectorInstance.ArrayData as double[]);
 }
 public static void ISetData(IMathTransformObject IMathTransforminstance, IMathVectorObject XAxisObjIn, IMathVectorObject YAxisObjIn, IMathVectorObject ZAxisObjIn, IMathVectorObject TransformObjIn, Double ScaleValIn)
 {
     IMathTransforminstance.IMathTransformInstance.ISetData(XAxisObjIn.IMathVectorInstance as MathVector, YAxisObjIn.IMathVectorInstance as MathVector, ZAxisObjIn.IMathVectorInstance as MathVector, TransformObjIn.IMathVectorInstance as MathVector, ScaleValIn);
 }
예제 #11
0
 //public static IMathVectorObject GetForce(IMate2Object IMate2instance, Double& Magnitude)
 //{
 //    return new IMathVectorObject(IMate2instance.IMate2Instance.GetForce(Magnitude));
 //}
 public static Boolean SetForce(IMate2Object IMate2instance, Double Magnitude, IMathVectorObject Direction)
 {
     return(IMate2instance.IMate2Instance.SetForce(Magnitude, Direction.IMathVectorInstance as MathVector));
 }
예제 #12
0
 public static IMathPointObject GetProjectedPointOn(IFace2Object IFace2instance, IMathPointObject Point, IMathVectorObject Direction)
 {
     return(new IMathPointObject(IFace2instance.IFace2Instance.GetProjectedPointOn(Point.IMathPointInstance as MathPoint, Direction.IMathVectorInstance as MathVector)));
 }
예제 #13
0
 public static IBody2Object OffsetPlanarWireBody(IBody2Object IBody2instance, Double Distance, IMathVectorObject Normal, Int32 Option)
 {
     return(new IBody2Object(IBody2instance.IBody2Instance.OffsetPlanarWireBody(Distance, Normal.IMathVectorInstance as MathVector, Option)));
 }
예제 #14
0
 public static IMathPointObject ISubtractVector(IMathPointObject IMathPointinstance, IMathVectorObject VectorObjIn)
 {
     return(new IMathPointObject(IMathPointinstance.IMathPointInstance.ISubtractVector(VectorObjIn.IMathVectorInstance as MathVector)));
 }
 public static Double Dot(IMathVectorObject IMathVectorinstance, Object VectorObjIn)
 {
     return(IMathVectorinstance.IMathVectorInstance.Dot(VectorObjIn));
 }
 public static Object MultiplyTransform(IMathVectorObject IMathVectorinstance, Object TransformObjIn)
 {
     return(IMathVectorinstance.IMathVectorInstance.MultiplyTransform(TransformObjIn));
 }
 public static Double IDot(IMathVectorObject IMathVectorinstance, IMathVectorObject VectorObjIn)
 {
     return(IMathVectorinstance.IMathVectorInstance.IDot(VectorObjIn.IMathVectorInstance as MathVector));
 }
 public static IMathVectorObject IMultiplyTransform(IMathVectorObject IMathVectorinstance, IMathTransformObject TransformObjIn)
 {
     return(new IMathVectorObject(IMathVectorinstance.IMathVectorInstance.IMultiplyTransform(TransformObjIn.IMathTransformInstance as MathTransform)));
 }
 public static IMathVectorObject ICross(IMathVectorObject IMathVectorinstance, IMathVectorObject VectorObjIn)
 {
     return(new IMathVectorObject(IMathVectorinstance.IMathVectorInstance.ICross(VectorObjIn.IMathVectorInstance as MathVector)));
 }
 public static Object Add(IMathVectorObject IMathVectorinstance, Object VectorObjIn)
 {
     return(IMathVectorinstance.IMathVectorInstance.Add(VectorObjIn));
 }
 public static IMathPointObject IConvertToPoint(IMathVectorObject IMathVectorinstance)
 {
     return(new IMathPointObject(IMathVectorinstance.IMathVectorInstance.IConvertToPoint()));
 }
 public static Object Subtract(IMathVectorObject IMathVectorinstance, Object VectorObjIn)
 {
     return(IMathVectorinstance.IMathVectorInstance.Subtract(VectorObjIn));
 }
 public static Object ArrayData(IMathVectorObject IMathVectorinstance)
 {
     return(IMathVectorinstance.IMathVectorInstance.ArrayData);
 }
예제 #24
0
 public static IMathTransformObject ICreateTransformRotateAxis(IMathUtilityObject IMathUtilityinstance, IMathPointObject PointObjIn, IMathVectorObject VectorObjIn, Double Angle)
 {
     return(new IMathTransformObject(IMathUtilityinstance.IMathUtilityInstance.ICreateTransformRotateAxis(PointObjIn.IMathPointInstance as MathPoint, VectorObjIn.IMathVectorInstance as MathVector, Angle)));
 }