コード例 #1
0
 public static RevSurface ToRhinoSurface(this DB.CylindricalFace face) => FromCylindricalSurface
 (
     face.Origin,
     face.get_Radius(0),
     face.get_Radius(1),
     face.Axis,
     face.get_Radius(0).GetLength(),
     face.GetBoundingBox()
 );
コード例 #2
0
 public static RevSurface ToRhinoSurface(DB.CylindricalFace face, double relativeTolerance) => FromCylindricalSurface
 (
     face.Origin,
     face.get_Radius(0),
     face.get_Radius(1),
     face.Axis,
     face.get_Radius(0).GetLength(),
     face.GetBoundingBox(),
     relativeTolerance
 );