예제 #1
0
파일: Visinfo.cs 프로젝트: whztt07/BCFier
 public OrthogonalCamera()
 {
   CameraDirection = new Direction();
   CameraUpVector = new Direction();
   CameraViewPoint = new Point();
 }
예제 #2
0
파일: Visinfo.cs 프로젝트: whztt07/BCFier
 public PerspectiveCamera()
 {
   CameraDirection = new Direction();
   CameraUpVector = new Direction();
   CameraViewPoint = new Point();
 }
예제 #3
0
 public static Vector3D GetNavisVector(Direction d)
 {
   return new Point3D(d.X.ToInternal(), d.Y.ToInternal(), d.Z.ToInternal()).ToVector3D().Normalize();
 }
예제 #4
0
 public static Vector3D GetNavisVector(Direction d)
 {
     return(new Point3D(d.X.ToInternal(), d.Y.ToInternal(), d.Z.ToInternal()).ToVector3D().Normalize());
 }
예제 #5
0
 public static XYZ GetRevitXYZ(Direction d)
 {
   return new XYZ(d.X.ToFeet(),d.Y.ToFeet(),d.Z.ToFeet());
 }