Skip to main content

tCircle()

Draws a circle tangent to two geometry objects.

Returns: Geometry

tip

See the guide for detailed usage examples.

Signatures

tCircle(c1: SceneObject, c2: SceneObject, diameter: number, mustTouch?: boolean): Geometry

Draws a circle tangent to two geometry objects.

ParameterTypeDescription
c1SceneObjectThe first geometry object
c2SceneObjectThe second geometry object
diameternumberThe circle diameter
mustTouchbooleanWhether the circle must touch both objects (optional)

tCircle(c1: QualifiedGeometry, c2: QualifiedGeometry, diameter: number, mustTouch?: boolean): Geometry

Draws a circle tangent to two qualified geometry objects.

ParameterTypeDescription
c1QualifiedGeometryThe first qualified geometry object (e.g., outside(circle1))
c2QualifiedGeometryThe second qualified geometry object
diameternumberThe circle diameter
mustTouchbooleanWhether the circle must touch both objects (optional)

tCircle(c1: Point2DLike, c2: Point2DLike, diameter: number, mustTouch?: boolean): Geometry

Draws a circle passing through two points.

ParameterTypeDescription
c1Point2DLikeThe first point
c2Point2DLikeThe second point
diameternumberThe circle diameter
mustTouchbooleanWhether the circle must touch both points (optional)

tCircle(c1: Point2DLike | SceneObject | QualifiedGeometry, c2: Point2DLike | SceneObject | QualifiedGeometry, diameter: number, mustTouch?: boolean): Geometry

Draws a tangent circle using a mix of geometry objects, qualified objects, or points as constraints.

ParameterTypeDescription
c1Point2DLike | SceneObject | QualifiedGeometryThe first constraint object or point
c2Point2DLike | SceneObject | QualifiedGeometryThe second constraint object or point
diameternumberThe circle diameter
mustTouchbooleanWhether the circle must touch both constraints (optional)