Click or drag to resize

TextureMappingTryGetMappingCylinder Method (Cylinder, Boolean)

Get a cylindrical projection parameters from this texture mapping.

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
public bool TryGetMappingCylinder(
	out Cylinder cylinder,
	out bool capped


Type: Rhino.GeometryCylinder

[Missing <param name="cylinder"/> documentation for "M:Rhino.Render.TextureMapping.TryGetMappingCylinder(Rhino.Geometry.Cylinder@,System.Boolean@)"]

Type: SystemBoolean
will be true if capped

Return Value

Type: Boolean
Returns true if a valid cylinder is returned.
Generally, GetMappingCylinder will not return the same parameters passed to SetCylinderMapping. However, the location of the cylinder will be the same. If this mapping is not cylindrical, the cylinder will approximate the actual mapping primitive.
Version Information

Rhino for Windows

Supported in: 6.14
See Also