• Articles
  • Api Documentation
Show / Hide Table of Contents
  • Paramdigma.Core
    • Convert
    • Intersect3D
    • Intersect3D.LineLineIntersectionResult
    • Intersect3D.LineLineIntersectionStatus
    • Intersect3D.LinePlaneIntersectionStatus
    • Intersect3D.RayFacePerimeterIntersectionStatus
    • Settings
  • Paramdigma.Core.Collections
    • Interval
    • Matrix<T>
  • Paramdigma.Core.Curves
    • Geodesics
    • LevelSets
  • Paramdigma.Core.Exceptions
    • UnsetGeometryException
  • Paramdigma.Core.Extensions
    • Lists
  • Paramdigma.Core.Geometry
    • BaseCurve
    • BasePoint
    • Box
    • Circle
    • Cylinder
    • Delaunay
    • InvalidCurveException
    • Line
    • Line2d
    • Mesh
    • MeshCorner
    • MeshEdge
    • MeshFace
    • MeshGeometry
    • MeshHalfEdge
    • MeshPoint
    • MeshTopology
    • MeshVertex
    • NurbsCurve
    • NurbsSurface
    • Plane
    • Point2d
    • Point3d
    • Point4d
    • Polyline
    • Polyline2d
    • Ray
    • Ray2d
    • Rectangle2d
    • Sphere
    • Torus
    • Vector2d
    • Vector3d
    • VectorNd
  • Paramdigma.Core.Geometry.Interfaces
    • ICurve
    • ISurface
    • IVector
  • Paramdigma.Core.IO
    • CsvReader
    • CsvWritter
    • OBJMeshData
    • ObjReader
    • ObjWritter
    • OffMeshData
    • OffReader
    • OffResult
    • OffWriter
  • Paramdigma.Core.LinearAlgebra
    • Complex
    • LeastSquaresLinearFit
    • Triplet
    • TripletData
  • Paramdigma.Core.Optimization
    • GradientDescent
    • GradientDescent.FitnessFunction
    • GradientDescentOptions
    • GradientDescentResult
    • KMeansCluster
    • KMeansClustering
    • KMeansClustering.IterationCompletedEventArgs
  • Paramdigma.Core.Spatial
    • DelaunayEdge
    • DelaunayPoint
    • DelaunayTriangle
    • Octree
    • PointCloud
    • PointCloudMember
    • QuadTree

Class Cylinder

Represents a cylindrical surface.

Inheritance
System.Object
Cylinder
Implements
ISurface
Namespace: Paramdigma.Core.Geometry
Assembly: Paramdigma.Core.dll
Syntax
public class Cylinder : object, ISurface

Constructors

| Improve this Doc View Source

Cylinder(Plane, Double, Interval)

Initializes a new instance of the Cylinder class from it's individual components.

Declaration
public Cylinder(Plane plane, double radius, Interval domain)
Parameters
Type Name Description
Plane plane

The plane of the cylinder.

System.Double radius

The radius of the cylinder.

Interval domain

The cylinder height range.

Properties

| Improve this Doc View Source

DomainU

Gets the domain in the U direction.

Declaration
public Interval DomainU { get; set; }
Property Value
Type Description
Interval

Interval.

| Improve this Doc View Source

DomainV

Gets the domain in the V direction.

Declaration
public Interval DomainV { get; set; }
Property Value
Type Description
Interval

Interval.

| Improve this Doc View Source

Height

Gets the cylinder height.

Declaration
public double Height { get; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

HeightRange

Gets or sets the height range of the cylinder.

Declaration
public Interval HeightRange { get; set; }
Property Value
Type Description
Interval

Interval.

| Improve this Doc View Source

Plane

Gets or sets the base plane of the cylinder.

Declaration
public Plane Plane { get; set; }
Property Value
Type Description
Plane

Plane.

| Improve this Doc View Source

Radius

Gets or sets the radius of the cylinder.

Declaration
public double Radius { get; set; }
Property Value
Type Description
System.Double

.

Methods

| Improve this Doc View Source

ClosestPointTo(Point3d)

Compute the closes point of a point in this cylinder.

Declaration
public Point3d ClosestPointTo(Point3d point)
Parameters
Type Name Description
Point3d point

Point to compute with.

Returns
Type Description
Point3d

Point3d instance of the closest point in the cylinder.

| Improve this Doc View Source

DistanceTo(Point3d)

Compute the distance from a point to this cylinder.

Declaration
public double DistanceTo(Point3d point)
Parameters
Type Name Description
Point3d point

Point to compute with.

Returns
Type Description
System.Double

Number representing the distance.

| Improve this Doc View Source

FrameAt(Double, Double)

Compute the tangent plane at the specified surface coordinates.

Declaration
public Plane FrameAt(double u, double v)
Parameters
Type Name Description
System.Double u

U coordinate.

System.Double v

V coordinate.

Returns
Type Description
Plane

Tangent plane.

| Improve this Doc View Source

NormalAt(Double, Double)

Compute the normal at the specified surface coordinates.

Declaration
public Vector3d NormalAt(double u, double v)
Parameters
Type Name Description
System.Double u

U coordinate.

System.Double v

V coordinate.

Returns
Type Description
Vector3d

Normal vector.

| Improve this Doc View Source

PointAt(Double, Double)

Compute a point at the specified surface coordinates.

Declaration
public Point3d PointAt(double u, double v)
Parameters
Type Name Description
System.Double u

U coordinate.

System.Double v

V coordinate.

Returns
Type Description
Point3d

Point3d.

Implements

ISurface
  • Improve this Doc
  • View Source
Back to top Generated by DocFX