ControlPoint

References
Represents control point geometry with three-dimensional position and weight.

Constructors

ControlPoint

#Since v5.0
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 ControlPoint(
x,
X coordinate of the control point.
y,
Y coordinate of the control point.
z,
Z coordinate of the control point.
weight
Weight factor of the control point. You should not use weights less than or equal to zero.
)
Remarks: For expert use only. If you do not understand homogeneous coordinates, then use an override that accepts world 3-D, or Euclidean, coordinates as input.

ControlPoint

#Since v5.0
Constructs a new world 3-D, or Euclidean, control point. The 4-D representation is (x, y, z, 1.0).
public ControlPoint(
x,
X coordinate of the control point.
y,
Y coordinate of the control point.
z
Z coordinate of the control point.
)

ControlPoint

#Since v5.0
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 ControlPoint(
euclideanPt,
Coordinates of the control point.
weight
Weight factor of the control point. You should not use weights less than or equal to zero.
)

ControlPoint

#Since v5.0
Constructs a new world 3-D, or Euclidean, control point. The 4-D representation of this is (x, y, z, 1.0).
public ControlPoint(
pt
Coordinates of the control point.
)

ControlPoint

#Since v5.0
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 ControlPoint(
pt
Coordinates of the control point.
)
Remarks: For expert use only. If you do not understand homogeneous coordinates, then use an override that accepts world 3-D, or Euclidean, coordinates as input.

Properties

Location

#Since v5.0
Gets or sets world 3-D, or Euclidean location of the control point.
public Point3d Location { get; set; }

Unset

#Since v5.0
Gets the predefined, unset control point.
public static ControlPoint Unset { get; }

Weight

#Since v5.0
Gets or sets the weight of this control point.
public double Weight { get; set; }

X

#Since v6.0
Gets or sets the X coordinate of the control point.
public double X { get; set; }

Y

#Since v6.0
Gets or sets the Y coordinate of the control point.
public double Y { get; set; }

Z

#Since v6.0
Gets or sets the Z coordinate of the control point.
public double Z { get; set; }

Methods

EpsilonEquals

#Since v5.4
Check that all values in other are within epsilon of the values in this
[ConstOperation] public bool EpsilonEquals(
other,
epsilon
)
EpsilonEquals

Equals

#Since v6.0
Determines if two points exactly match.
[ConstOperation] public bool Equals(
other
The other point.
)
True if the other control point exactly matches this one.