示例#1
0
 public static void ISetVertex(IExtrudeFeatureDataObject IExtrudeFeatureDatainstance, Boolean Forward, IVertexObject Face)
 {
     IExtrudeFeatureDatainstance.IExtrudeFeatureDataInstance.ISetVertex(Forward, Face.IVertexInstance as Vertex);
 }
示例#2
0
 public static void ISetVertex(ISurfExtrudeFeatureDataObject ISurfExtrudeFeatureDatainstance, Boolean Forward, IVertexObject Vtx)
 {
     ISurfExtrudeFeatureDatainstance.ISurfExtrudeFeatureDataInstance.ISetVertex(Forward, Vtx.IVertexInstance.CastObj <Vertex>());
 }
示例#3
0
        //ref not solve
        public static IBody2Object IExtendSurface(IBody2Object IBody2instance, Int32 EdgeCount, IEdgeObject EdgesToExtend, Boolean ExtendLinear, Int32 EndCondition, Double Dist, IVertexObject PUpToVtx, IFaceObject PUpToFace)
        {
            Edge edge = EdgesToExtend.IEdgeInstance.CastObj <Edge>();

            return(new IBody2Object(IBody2instance.IBody2Instance.IExtendSurface(EdgeCount, ref edge, ExtendLinear, EndCondition, Dist, PUpToVtx.IVertexInstance as Vertex, PUpToFace.IFaceInstance as Face)));
        }
 public static Int32 RemoveTrackingID(IVertexObject IVertexinstance, Int32 TrackingCookie)
 {
     return(IVertexinstance.IVertexInstance.RemoveTrackingID(TrackingCookie));
 }
 public static Int32 GetTrackingIDsCount(IVertexObject IVertexinstance, Int32 TrackingCookie)
 {
     return(IVertexinstance.IVertexInstance.GetTrackingIDsCount(TrackingCookie));
 }
 public static void Display(IVertexObject IVertexinstance, IModelDoc2Object TopDoc, Int32 Color, Double Scale, Boolean HighlightState)
 {
     IVertexinstance.IVertexInstance.Display(TopDoc?.IModelDoc2Instance?.CastObj <ModelDoc2>(), Color, Scale, HighlightState);
 }
 //public static Int32 GetTrackingIDs(IVertexObject IVertexinstance, Int32 TrackingCookie, Object& TrackingIDs)
 //{
 //    return IVertexinstance.IVertexInstance.GetTrackingIDs(TrackingCookie, TrackingIDs);
 //}
 public static Int32 SetTrackingID(IVertexObject IVertexinstance, Int32 TrackingCookie, Int32 TrackingID)
 {
     return(IVertexinstance.IVertexInstance.SetTrackingID(TrackingCookie, TrackingID));
 }
 public static Int32 IGetAdjacentFacesCount(IVertexObject IVertexinstance)
 {
     return(IVertexinstance.IVertexInstance.IGetAdjacentFacesCount());
 }
 public static IFace2Object IGetAdjacentFaces(IVertexObject IVertexinstance, Int32 NFaceCount)
 {
     return(new IFace2Object(IVertexinstance.IVertexInstance.IGetAdjacentFaces(NFaceCount)));
 }
 public static Object GetAdjacentFaces(IVertexObject IVertexinstance)
 {
     return(IVertexinstance.IVertexInstance.GetAdjacentFaces());
 }
 public static Object GetEdgesOriented(IVertexObject IVertexinstance)
 {
     return(IVertexinstance.IVertexInstance.GetEdgesOriented());
 }
 public static Double IGetClosestPointOn(IVertexObject IVertexinstance, Double X, Double Y, Double Z)
 {
     return(IVertexinstance.IVertexInstance.IGetClosestPointOn(X, Y, Z));
 }
 public static Double IGetPoint(IVertexObject IVertexinstance)
 {
     return(IVertexinstance.IVertexInstance.IGetPoint());
 }
 public static Object GetPoint(IVertexObject IVertexinstance)
 {
     return(IVertexinstance.IVertexInstance.GetPoint());
 }