CameraPoint
-
struct
HPS.CameraPoint
The CameraPoint class is a basic 3D point that is assumed to represent a location in camera space.
Public Functions
-
CameraPoint
(CameraPoint cp) Initializes a new Point from CameraPoint cp.
Param cp: The CameraPoint to initialize this object from.
-
CameraPoint
(float in_x) Initializes a new CameraPoint with the x parameter and sets the y and z value to zero.
Param in_x: The x parameter.
-
CameraPoint
(float in_x, float in_y) Initializes a new CameraPoint with x and y parameters and sets the z value to zero.
Param in_x: The x parameter. Param in_y: The y parameter.
-
CameraPoint
(float in_x, float in_y, float in_z) Converts the point in_point to camera space via in_window.
-
CameraPoint
(Point p) Copies the existing point p.
-
CameraPoint
(WindowKey in_window, CameraPoint in_point) Converts the point in_point to camera space via in_window.
-
CameraPoint
(WindowKey in_window, InnerPixelPoint in_point) Converts the point in_point to camera space via in_window.
-
CameraPoint
(WindowKey in_window, InnerWindowPoint in_point) Converts the point in_point to camera space via in_window.
-
CameraPoint
(WindowKey in_window, ObjectPoint in_point) Converts the point in_point to camera space via in_window.
-
CameraPoint
(WindowKey in_window, PixelPoint in_point) Converts the point in_point to camera space via in_window.
-
CameraPoint
(WindowKey in_window, WindowPoint in_point) Converts the point in_point to camera space via in_window.
-
CameraPoint
(WindowKey in_window, WorldPoint in_point) Converts the point in_point to camera space via in_window.
-
bool
Equals
(CameraPoint p) Compares a CameraPoint object to this CameraPoint.
Param p: The object to compare to this object. Return: Returns true if the parameter is equivalent to this CameraPoint object, false otherwise.
-
override bool
Equals
(object obj) Compares this CameraPoint object to another object.
Param obj: The object to compare to this object. Return: Returns true if the parameter is equivalent, false otherwise.
-
bool
Equals
(Vector p) Compares a Vector whose points (x, y, z) correspond to the points of this CameraPoint’s (x, y, z).
Param p: The Vector to compare to this object. Return: Returns true if the Vector’s components are equivalent to this CameraPoint object, false otherwise.
-
override int
GetHashCode
()
Public Static Functions
-
implicit operator Point (CameraPoint p)
Provides an implicit casting operator from CameraPoint to Point.
-
bool
operator!=
(CameraPoint p1, CameraPoint p2) Compares two CameraPoint objects.
Param p1: The first object to compare. Param p2: The second object to compare. Return: Returns true if the two parameters are not equivalent, false otherwise.
-
bool
operator==
(CameraPoint p1, CameraPoint p2) Compares two CameraPoint objects.
Param p1: The first object to compare. Param p2: The second object to compare. Return: Returns true if the two parameters are equivalent, false otherwise.
-