ControlPoint
Represents control point geometry with three-dimensional position and weight.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)
Syntax
[SerializableAttribute]public struct ControlPoint : IEpsilonComparable<ControlPoint>, IEquatable<ControlPoint>
The ControlPoint type exposes the following members.
Constructors
Name
Description
Public Method
ControlPoint(Point3d)
Constructs a new world 3-D, or Euclidean, control point. The 4-D representation of this is (x, y, z, 1.0).
Public Method
ControlPoint(Point4d)
Constructs a new homogeneous control point, where the 4-D representation is (x, y, z, w). The world 3-D, or Euclidean, representation is (x/w, y/w, z/w).
Public Method
ControlPoint(Point3d, Double)
Constructs a control point from a world 3-D, or Euclidean, location and a weight. The world 3-D, or Euclidean, representation is (x/w, y/w, z/w).
Public Method
ControlPoint(Double, Double, Double)
Constructs a new world 3-D, or Euclidean, control point. The 4-D representation is (x, y, z, 1.0).
Public Method
ControlPoint(Double, Double, Double, Double)
Constructs a new homogeneous control point, where the 4-D representation is (x, y, z, w). The world 3-D, or Euclidean, representation is (x/w, y/w, z/w).
Properties
Name
Description
Public Property
Location
Gets or sets world 3-D, or Euclidean location of the control point.
Public Property
Static Member
Unset
Gets the predefined, unset control point.
Public Property
Weight
Gets or sets the weight of this control point.
Public Property
X
Gets or sets the X coordinate of the control point.
Public Property
Y
Gets or sets the Y coordinate of the control point.
Public Property
Z
Gets or sets the Z coordinate of the control point.
Methods
Name
Description
Public Method
EpsilonEquals
Check that all values in other are within epsilon of the values in this
Public Method
Equals(ControlPoint)
Determines if two points exactly match.
Public Method
Equals(Object)
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public Method
GetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public Method
ToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)