IsInside Method (Double, Int32)


Indicates whether the specified parameter value is within this curve's bounds and outputs the end index.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)

Syntax

C#
public bool IsInside(
	double parameter,
	out int end
)
Visual Basic
Public Function IsInside ( _
	parameter As Double, _
	<OutAttribute> ByRef end As Integer _
) As Boolean
Visual C++
public:
bool IsInside(
	double parameter, 
	[OutAttribute] int% end
)

Parameters

parameter
Type: System Double
The raw curve parameter to be evaluated.
end
Type: System Int32 %
The end index is equal to 0 for the start point, 1 for the end point, or -1 if the parameter is not at the end.

Return Value

True if the parameter is within the curve's bounds, otherwise false.

Remarks

Always returns true if this curve is unbound.

See Also