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: 24.0.0.0 (24.0.0.0)

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: SystemDouble
The raw curve parameter to be evaluated.
end
Type: SystemInt32%
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

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →