Introduced
7.0
UI Location
• Math > Vector
Description
Calculates the position of the closest point on the line passing through the two specified points.
Port Description
Inputs
|
Group ID |
Instances |
Port Name |
Connection Info |
Description |
|
0 |
1 |
point |
• Type: siICENodeDataVector2 or siICENodeDataVector3 • Structure: siICENodeStructureAny • Context: siICENodeContextAny |
Position of the point from which to calculate the closest line point. |
|
linepoint1 |
• Type: siICENodeDataVector2 or siICENodeDataVector3 • Structure: siICENodeStructureAny • Context: siICENodeContextAny |
First point through which the line passes. |
||
|
linepoint2 |
• Type: siICENodeDataVector2 or siICENodeDataVector3 • Structure: siICENodeStructureAny • Context: siICENodeContextAny |
Second point through which the line passes. |
Outputs
|
Port Name |
Connection Info |
Description |
|
result |
• Type: siICENodeDataVector2 or siICENodeDataVector3 • Structure: siICENodeStructureAny • Context: siICENodeContextAny |
Position of the point on the line closest to the input point. |
|
distance |
• Type: siICENodeDataFloat • Structure: siICENodeStructureAny • Context: siICENodeContextAny |
Distance to the closest point on the line. |
|
valid |
• Type: siICENodeDataBool • Structure: siICENodeStructureAny • Context: siICENodeContextAny |
Defines whether the input values are valid. The line is well defined only when the two input line points are not equal. In this case this port returns true. |
Restrictions
• These types must match: point, linepoint1, linepoint2
• These structures must match: point, linepoint1, linepoint2, result, distance, valid
• These contexts must match: point, linepoint1, linepoint2, result, distance, valid
See Also
|
|
|
|
Autodesk Softimage v7.5