A plane in 3D space in Hessian normal form. More...
Inherits object.
Public Member Functions | |
float | distance_to_point (self, cvb.Point3D pt) |
Calculates the distance to the point pt. More... | |
Properties | |
distance_to_origin = property | |
float: Gets or sets the distance to the origin in point units. | |
normal = property | |
cvb.Point3D: Gets or sets the normal vector of the plane. | |
A plane in 3D space in Hessian normal form.
Creates a new Plane3D object from the given normal vector components and the distanceToOrigin.
nx : float Normal vector x component.
ny : float Normal vector y component.
nz : float Normal vector z component.
distance_to_origin : float Distance to origin in point units.
float distance_to_point | ( | self, | |
cvb.Point3D | pt | ||
) |
Calculates the distance to the point pt.
pt : cvb.Point3D Point to calculate the distance to.
float The distance to the specified point.
Calculates the distance to the point pt.
x : float Point x component.
y : float Point y component.
z : float Point z component.
float The distance to the specified point.