Measure

This section describes operators belonging to the Measure category.

This page discusses:

Angle Vectors

Returns the angle between two vectors.

Inputs

Name Type Description
Vector 1 Vector
Vector 2 Vector

Outputs

Name Type Description
Angle Angle

Area

Gives the area of a surface.

Inputs

Name Type Description
Surface Geometry

Outputs

Name Type Description
Area Area

Coordinates

Gives the coordinates of a point.

Inputs

Name Type Description
Point Point Input point

Outputs

Name Type Description
X Length
Y Length
Z Length

Curvature

Gives the curvature radius of a curve c at a point p.

Inputs

Name Type Description
Curve Curve
Point Point

Outputs

Name Type Description
Radius Real

Curve Length

Gives the length of a curve.

Inputs

Name Type Description
Curve Curve Input curve

Outputs

Name Type Description
Length Length

Distance

Gives the distance between two objects.

Inputs

Name Type Description
Object 1 Geometry First object
Object 2 Geometry Second object
Direction Vector Optional direction for distance computation along an axis.

Outputs

Name Type Description
Distance Length

Is Closed

Checks if a curve is closed or not.

Inputs

Name Type Description
Curve Curve

Outputs

Name Type Description
Result Boolean

Is Inside

Checks if an object is inside, outside or intersects another one. works in 2d or 3d mode (you can check if a point is inside a planar closed curve for example). in 2d mode, the two objects have to be in the same plane.

Inputs

Name Type Description
Object Geometry Object to be checked. can be any type of geometry
In Geometry Target object. can be a closed curve or a closed surface or a volume

Outputs

Name Type Description
Inside Boolean True if the object is inside the target (can be tangent), false otherwise
Intersect Boolean True if the object has an intersection with the target
Outside Boolean True if the object is outside the target, false otherwise
Diagnosis Integer 1 if the object is inside the target (it may be tangent), 2 if the object is intersecting the target and is neither inside nor outside, 3 if the object is outside the target (it may be tangent)

Is Laying On

Checks if a geometric object is laying on another one.

Inputs

Name Type Description
Object Geometry Object to be checked. can be a point or a curve
On Geometry Target object. can be a curve or a surface
Mod Integer Laying on analysis mode. check geometric object is either totally laying on target, or totally and even partly laying on target

Outputs

Name Type Description
Result Boolean 'true' if the object is laying on the target, 'false' otherwise

Point ratio on curve

Evaluates the ratio of a point on a curve. provides a ratio corresponding to the position of the closest point from the input point on the curve.

Inputs

Name Type Description
Point Point Point to be evaluated
Curve Curve Curve the point is evaluated on

Outputs

Name Type Description
Rat Real

Volume

Gives the volume of a closed surface or volume.

Inputs

Name Type Description
Object Geometry

Outputs

Name Type Description
Volume