示例#1
0
        public static gp_Dir ComputeNormal(this TopoDS_Face face)
        {
            double umin = 0, umax = 0, vmin = 0, vmax = 0;

            BRepTools.UVBounds(face, ref umin, ref umax, ref vmin, ref vmax);
            var surface = BRep_Tool.Surface(face);
            var props   = new GeomLProp_SLProps(surface, umin, vmin, 1.0, 1e-1);

            return(props.Normal());
        }
示例#2
0
 public void SurfG2(GeomLProp_SLProps Surf1, GeomLProp_SLProps Surf2)
 {
     throw new NotImplementedException();
 }
示例#3
0
 public void ComputeAnalysis(GeomLProp_SLProps Surf1, GeomLProp_SLProps Surf2, GeomAbs_Shape Order)
 {
     throw new NotImplementedException();
 }