Exemple #1
0
 public OrthogonalCamera()
 {
   CameraDirection = new Direction();
   CameraUpVector = new Direction();
   CameraViewPoint = new Point();
 }
Exemple #2
0
 public PerspectiveCamera()
 {
   CameraDirection = new Direction();
   CameraUpVector = new Direction();
   CameraViewPoint = new Point();
 }
Exemple #3
0
 public static Vector3D GetNavisVector(Direction d)
 {
   return new Point3D(d.X.ToInternal(), d.Y.ToInternal(), d.Z.ToInternal()).ToVector3D().Normalize();
 }
Exemple #4
0
 public static Vector3D GetNavisVector(Direction d)
 {
     return(new Point3D(d.X.ToInternal(), d.Y.ToInternal(), d.Z.ToInternal()).ToVector3D().Normalize());
 }
Exemple #5
0
 public static XYZ GetRevitXYZ(Direction d)
 {
   return new XYZ(d.X.ToFeet(),d.Y.ToFeet(),d.Z.ToFeet());
 }