CADability dotNET

The Projection type exposes the following members.

Methods

  NameDescription
Public methodBoundingRectWorld2d
Returns a BoundingRect in the 2d world coordinate system according to the provided view positions. The view coordinate system is the windows forms system. The 2d world coordinate system is for the parallel projection a plane perpendicular to the projection direction scaled the same way as the model. For the perspective projection it is the back plane of the displayed frustum of pyramid.
Public methodClone
Returns a clone of this projection
Public methodDeviceRect
Public methodDrawingPlanePoint(Point)
Returns the point in the worldcoordinate system corresponding to the (mouse-) position p and the drawingplane
Public methodDrawingPlanePoint(GeoPoint2D)
Liefert den Raumpunkt (Welt3D) zum Welt2D Punkt gemäß Zeichenebene (DrawingPlane)
Public methodGetExtent
Public methodGetObjectData
Public methodGetOpenGLProjection
Public methodGetPickSpace(Rectangle)
Returns a PickArea, viewRect is in window coordinates
Public methodGetPickSpace(RectangleF)
Returns a PickArea, viewRect is in window coordinates
Public methodGetPickSpace(BoundingRect)
Returns a PickArea, rectWorld2D is in 2-d world coordinates
Public methodGetPlacement()()()()
Public methodGetPlacement(Double%, Double%, Double%)
Liefert die Werte für die Platzierung. Achtung: die Y-Werte müssen mit dem negativen Faktor multipliziert werden, denn die Platzierung dreht die y-achse um!
Public methodMovePlacement
Public methodPlanePoint
Gets the position of a given point (usually a mouse position in view coordinates) in a given plane.
Public methodPointBeam
Returns a beam corresponding to the 2-dimensional mouse position. The mouse position corresponds to a beam in the model which is seen as a point from the viewpoint. The result is in world coordinates of the model. Works for both parallel and perspective projection.
Public methodPointWorld2D
Public methodPrependModOp
Public methodProject
Public methodProject2D
Public methodProjectF
Berechnet die Projektion des gegebenen Punktes ins Zweidimensionale mit Berücksichtigung der Skalierung und Platzierung im Zweidimensionalen, also in das zweidimensionale Papierkoordinatensystem und nicht in das Weltkoordinatensystem.
Public methodProjectUnscaled(GeoPoint)
Berechnet die Projektion des gegebenen Punktes ins Zweidimensionale ohne Berücksichtigung der Skalierung und Platzierung im Zweidimensionalen, also in das zweidimensionale Weltkoordinatensystem und nicht in das Papierkoordinatensystem.
Public methodProjectUnscaled(GeoVector)
Public methodSetDirection
Sets the view direction and the vertical direction of this projection.
Public methodSetPerspective(GeoPoint, GeoVector, Rectangle, BoundingCube)
Public methodSetPerspective(GeoPoint, GeoVector, Rectangle, BoundingCube, GeoPoint)
Public methodSetPlacement(Rectangle, BoundingRect)
Stellt die Platzierung im Zweidimensionalen ein: Das Quellrechteck soll in das Zielrechteck passen.
Public methodSetPlacement(RectangleF, BoundingRect)
Public methodSetPlacement(Double, Double, Double)
Public methodSetUnscaledProjection
Public methodUnProjectUnscaled(GeoPoint2D)
Public methodUnProjectUnscaled(GeoVector2D)
Public methodWindowToWorld
Returns the provided point in the world coordinate system
Public methodWorld2DToWindow(BoundingRect)
Public methodWorld2DToWindow(GeoPoint2D)
Public methodWorldToWindow
Returns the window position of a point in the world coordiate system. Point (0,0) is the top left point of the window

Explicit Interface Implementations

See Also